General information
Category:
Coding, syntax & commands
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only