Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Date Validation Problem
Message
From
14/06/1999 13:12:28
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00229477
Message ID:
00229550
Views:
20
Unbind the control from the date field and make it a character type by clearing the Value property. You could then put your code in the Valid() event. You would, of course, have to manualy validate that the entered date is valid and you will have to get/save the value from/to the field.

HTH

>I read some posts about a date validation problem, mainly, the date is validated before the valid event in the textbox. Well, I'm also grappling with this problem. I've set set up a bit of code to autocomplete the date for the user, ie: they enter 02/31/1999 it would change it to 02/28/1999. I've got this code set up in the valid() event, but it never fires if they enter an invalid date....what to do?? Anyone have any solutions/suggestions?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform