Date Field

ChampionDuy

Registered User.
Local time
Today, 00:03
Joined
Mar 14, 2002
Messages
94
I have a field on a Form that is a Date Field. I have an input mask on the field so the user must enter in the date in the correct format. MM/DD/YYYY However, I have tried to trap the MS ACCESS generated error that appears if a user enters in invalid data such as 12/3#/####. Where the #'s are all blank. I have tried to put a errorhandler at the lost focus event, key press event, after update event, on Exit event, and none fo them will trap the error and display the more user friendly error message that I have created. Any help would be greatly appreciated. Thank you
 
Rather than use an input mask, why not try using the example I posted on this thread?

Much simpler... :cool:
 
Thanks

I will try to implement that. Thank you
 

Users who are viewing this thread

Back
Top Bottom