One quick question
Hi guys
I have a textbox on the form that allows the user to enter a date in the format dd/mm/yyyy. I've used an input mask to show the user how the date should be entered and it appears like this:
__/__/____
This works ok, but only until the user enters the date in the wrong format. At this point Access displays an error message. How do I disply my own custom error message. I've tried the do.cmd Set Warnings False on the AfterUpdate and LostFocus properties, but it doesn't seem to work.
Thanks
Dave
Hi guys
I have a textbox on the form that allows the user to enter a date in the format dd/mm/yyyy. I've used an input mask to show the user how the date should be entered and it appears like this:
__/__/____
This works ok, but only until the user enters the date in the wrong format. At this point Access displays an error message. How do I disply my own custom error message. I've tried the do.cmd Set Warnings False on the AfterUpdate and LostFocus properties, but it doesn't seem to work.
Thanks
Dave