Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do you prevent Bypass of Field validation
Message
From
24/02/1999 18:03:42
 
 
To
24/02/1999 16:55:56
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00190601
Message ID:
00191205
Views:
20
>Yes.
>
>>>>
>>>>Should I have a business object for each control? Maybe have a flag, used when the form is originally instantiated, that determines if a business object should be created for each control? How will this affect the performance of the app?
>>>
>>>How you break down your business objects would depend on a number of issues. Personally, I try to keep the number of business objects down to a minimum. Perhaps you could instance one object dedicated to validation rules at the time the app is run and keep it in memory.
>>
>>Then have the business object fire validation for each control that has been flagged when saving?


Sounds good, I'll give that a try.
Previous
Reply
Map
View

Click here to load this message in the networking platform