How do I deactivate Escape key in Access

A

Allen Browne

You can disable the Esc key for any form by setting the form's KeyPreview
property to Yes, and using the KeyDown event of the form to destroy the
keystroke:
If KeyCode = vbKeyEscape Then KeyCode = 0
 
Top