Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I do user friendly field validation?
Message
 
To
29/06/1998 17:57:09
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00112691
Message ID:
00112868
Views:
14
Hi Rock,

You could specify your validations in the table along with the messages to be displayed. Assuming that you are using optimistic buffering, you would get an error when you save data which does not satisfy the validation rule. Here you coud trap the error, use AERROR() to get the information and display the message to your user.

You just need to code this once and it would be applied to all your tables.

>I want to include some field validation on several of my tables, but I can't figure out how to give them a custom messagebox instead of the foxpro system box generated from the 'validation text' property. Is this possible?
>
>Thanks,
>Rock Jensen
Previous
Reply
Map
View

Click here to load this message in the networking platform