How to skip field level checking

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to implement a Cancel button in a form so that whenever it is clicked,
all checking, including field level checkings (implemented in the
beforeupdate or exit event of the textbox, combo, ... control) and input mask
checkings will be skipped and just go straight to undo and close the form.
 
You cannot do that with a command button on the form, because Access must
process the events of the active control before focus can move to the
command button to run its Click event.

Train the users to press the <Esc> key twice (to undo the current field, and
then the current record.) Alternatively, use the Undo button on the toolbar,
or the undo item on the Edit menu.
 
So surprise that I get really "immediate" reply. Thank you very much. You
have saved my time for further "research" of this problem.
 
Back
Top