Event for 'Esc'?

P

Parker

Is there an event name for if a user hits the 'esc' key at
any point while entering data into a form?

Basically, I want the form to clear all previously entered
data and reset on 'esc' (Currently, it does nothing on an
existing record and just stops writing on a new record).

Thanks in advance for any help!

Parker
 
A

Allen Browne

For a bound form in Access 2000 or later, the Undo event of the *Form* is
triggered when the user presses Esc to undo the record changes.
 
Top