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 11:11:14
 
 
To
24/02/1999 00:19:27
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00190601
Message ID:
00190973
Views:
16
>Dan ---
>
>Move your validation rules into a separate business object (just a Custom object with custom properties, nothing fancy). Call the appropriate method on Valid *and*, as Ed suggests, in your Save code. Make sure that you use a SetFocus to move the cursor back to the offending control also for consistency.
>
>

I like this idea.

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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform