Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Field-level rules vs. code in the Valid event
Message
From
01/05/1998 18:54:10
 
 
To
01/05/1998 18:11:38
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00096287
Message ID:
00096444
Views:
28
>I took your suggestion(s) and tried putting an ON ERROR DO texterr statement in the control's (a textbox) gotfocus event. That didn't call my error routine so instead I used the control's error event, tested for error number 1582 and then used dbGetProp() to retrieve the error message text from the DBC. That works fine and for now satisfies my curiosity. Thanks for the help.
>


The error event is the proper place for it. There is an excellent article in error handling in VFP at www.stonefield.com
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform