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
 

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

Back
Top