Need to disable the Delete a Record shortcut, CTRL -

Modify_inc

Registered User.
Local time
Today, 15:17
Joined
Mar 25, 2013
Messages
20
I would like to disable the shortcut, CTRL - which allows a user to delete a record. A user accidentally deleted a record while typing in an email address that had an underscore in the email address. While trying to type it she must have hit the CTRL key instead of the Shift key follow by the -. She noticed the delete confirmation, but not thinking, pressed enter and thus confirmed the deletion of the record.

Other than telling her to pay more attention, how can I disable the shortcut in Access 2013?

I tried using the Application.OnKey "^-", "" but I continue getting the error method or data member can not be found

Thanks
Mike
 
There are many ways to delete records. You should rather set the form's data allow deletions property to false.
 
There are many ways to delete records. You should rather set the form's data allow deletions property to false.

Wow! You are right, cant believe I missed that...and so much easier to execute :)

Thank you!
 

Users who are viewing this thread

Back
Top Bottom