How do I deactivate Escape key in Access

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
Back
Top