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? 3 3854
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?
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?
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. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Flare |
last post by:
In meen. primary keys, NOT NULL, IDENTETIES...et.c
I have to do a maunally, one time, building of a database. Sometables has to
stay an some are to be exchanged. The foreignkey inforcemnt ill do...
|
by: Dw70 |
last post by:
I need write simple program with work in background
and have only one function when it is run F1 I disable
and when I pres for example ctrl+k it (program is terminate)
maybe somebody have...
|
by: Stilgar[bbs.isca.uiowa.edu] |
last post by:
Here's my newbie question:
I have several VB forms which are all inherit a standard template form
that I made. In my template form, I added a menu bar with some
generic cut, copy, and paste...
|
by: Geroge D. Lake |
last post by:
Hi,
I need to disable the resizing of a datagrid.
I have tried al day and no luck.
Any Ideas?
Thanks.
George.
|
by: johnb41 |
last post by:
I have a datagrid that successfully allows editing and updating (with
dataadapter.update command). I want the user to be able to edit the
"text" in the datagrid, but i DON'T want the user to be...
|
by: MLH |
last post by:
If I give someone a runtime app,
they can open the database
window by pressing the F-11
key. How to prevent???
|
by: khng |
last post by:
How to disable the copy/drag event for some selected textfield as I
want the user to key in instead of copy or drag the required
information.
For IE, I done it with the onPaste and onDragEnter...
|
by: voroojak |
last post by:
hi
I have a such abig problem. i have to disable the shortcut keys (table, query, report, .....) except form. the user should just be able to open form and all other the shortcut should be disable....
|
by: muddasirmunir |
last post by:
I am using VB6.
I want that in my whole program the user can only enter data as numbers (0-9), alphabetical (a-z) and . (dot/point).
How can I disable all the other keys?
I know the code how to...
|
by: nagmvs |
last post by:
Hi,
Can any one tell me How to disable Keyboard Functions using JavaScript.If knows please tell me the code.Also tell me the code for mouse disable also.
Thanks,
Nagesh.
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |