470,612 Members | 2,522 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,612 developers. It's quick & easy.

Disable Hot Keys?

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
3 3704
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
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
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.

Similar topics

2 posts views Thread by Dw70 | last post: by
3 posts views Thread by Stilgar[bbs.isca.uiowa.edu] | last post: by
1 post views Thread by Geroge D. Lake | last post: by
2 posts views Thread by khng | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.