Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Field-level rules vs. code in the Valid event
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00096287
Message ID:
00096303
Views:
29
In my opinion, this is the way to do it...a global error handler should be set-up and this is one of the errors it could handle....

Joe


>Try using an error handler
>
>on error do errhandler()
>
>errhandler()
>
>if error() = 1582
>
>
>endif
>
>
>1582 I think is the error number for a field validation error. You can check in the help contents of Visual Foxpro under the Technical Reference.
Joseph C. Kempel
Systems Analyst/Programmer
JNC
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform