Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error Message and Date Validation Questions

Status
Not open for further replies.

cpsqlrwn

IS-IT--Management
Jul 13, 2006
106
US
I have a date field that has validation rules and mask properties. In my form violation of these properties produces the generic Access error messages. How do I eliminate those messages from displaying so that I can have only my messages appear? Also, what code would be used to insure that a date field with no validation rules or mask contains a valid date?
Thanks for any help!!
 
1) Have a look at the Error event procedure of the Form object.
2) Have a look at the IsDate VBA function.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Thanks PHV! I'll check it out and get back.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top