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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top