Clearing a text box after encountering an error

Romulus

Registered User.
Local time
Today, 17:48
Joined
May 21, 2001
Messages
30
This is probably a simple matter, but I cannot figure it out. I have a data entry form with text boxes. The validation rule option has been defined for each text box. When the user enters incorrect (i.e., invalid) data, an error message pops up that is driven by the validation rule. After closing the error message, the cursor returns to the text box where the error occurred, but the box still contains the invalid data. I would like to clear the text box so that the user can enter new data without having to delete the invalid data from the text box.
 
The error messages that pop up are not user-defined. Can I build an event procedure on the "okay" button that is generated by Access?
 

Users who are viewing this thread

Back
Top Bottom