Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Field and Record validation with DBC Rules
Message
From
22/11/2001 07:28:30
 
 
To
22/11/2001 07:24:03
Sam Trenchard
System Support Services
London, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00584837
Message ID:
00584873
Views:
28
Hi Sam.

>>Thanks for reply. I think Trigger validation is too late for the user- you w ant some local field validation as they navigate down form and some in final check on update (trigger ok here). You still have the problem of ugly standard message box - Do you know there any way to intercept this with error trapping ? <<

You can customize the message displayed when the rule is violated by adding validation text to the field. The text you enter is displayed instead of the default error message.

To add a custom error message to a field-level rule

In the Table Designer, enter the error message you want in the Message box in the Field validation area.

-or-

Use the optional ERROR clause with the CHECK clause of the CREATE TABLE or ALTER TABLE commands.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform