Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Validating dates
Message
 
To
16/01/2002 10:07:31
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00605376
Message ID:
00605380
Views:
13
Barry,

Your problem is that VFP checks the data type for validtiy before your control gets its valid run. With a totally invlaid date your valid does not run. The solution is to SET NOTIFY ON, but do not return .F. from the vlaid when your code finds a problem. Instead RETURN 0 which will retain focus in the control but will not display the valid failure message.
Previous
Reply
Map
View

Click here to load this message in the networking platform