By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,480 Members | 763 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,480 IT Pros & Developers. It's quick & easy.

Disable Hot Keys?

P: n/a
Okay, here's a question I should have posted a very very long time ago.
I'd like to prevent the user from being able to bypass certain error
handling and updating functions that are programmed into the "Save"
command button. Some of my apps are still running in A97, but most are
now running in A2K or subsequent versions.

Is it possible to disable the use of hotkey combinations such as
"Ctrl+S" in an Access application? If so, how? And does the answer vary
depending on the version?

Is this an issue that can only be addressed in the OS?
Nov 13 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
On Tue, 07 Sep 2004 16:15:51 -0700, bonehead <se**********@here.org>
wrote:

You put your code in the wrong event. Move most of it to the
Form_BeforeUpdate event procedure. The Save command button just runs
RunCommand acCmdSaveRecord
That way, your special Save code executes regardless of how people try
to save a record.

-Tom.

Okay, here's a question I should have posted a very very long time ago.
I'd like to prevent the user from being able to bypass certain error
handling and updating functions that are programmed into the "Save"
command button. Some of my apps are still running in A97, but most are
now running in A2K or subsequent versions.

Is it possible to disable the use of hotkey combinations such as
"Ctrl+S" in an Access application? If so, how? And does the answer vary
depending on the version?

Is this an issue that can only be addressed in the OS?


Nov 13 '05 #2

P: n/a
Look at using the Autokeys macro for universal disabling.

Create a new Macro
Display the Macro Name column
In the Macro Name column type ^S
In the Action column Select Beep
Save the Macro and call it AutoKeys

That's it, Ctrl-S is now disabled in the database
--
Terry Kreft
MVP Microsoft Access
"bonehead" <se**********@here.org> wrote in message
news:ch**********@gondor.sdsu.edu...
Okay, here's a question I should have posted a very very long time ago.
I'd like to prevent the user from being able to bypass certain error
handling and updating functions that are programmed into the "Save"
command button. Some of my apps are still running in A97, but most are
now running in A2K or subsequent versions.

Is it possible to disable the use of hotkey combinations such as
"Ctrl+S" in an Access application? If so, how? And does the answer vary
depending on the version?

Is this an issue that can only be addressed in the OS?

Nov 13 '05 #3

P: n/a
Terry Kreft wrote:
Look at using the Autokeys macro for universal disabling.

Create a new Macro
Display the Macro Name column
In the Macro Name column type ^S
In the Action column Select Beep
Save the Macro and call it AutoKeys

That's it, Ctrl-S is now disabled in the database


Ahh, very cool, thanks.
Nov 13 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.