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 3892
On Tue, 07 Sep 2004 16:15:51 -0700, bonehead <se**********@h ere.org>
wrote:
You put your code in the wrong event. Move most of it to the
Form_BeforeUpda te 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**********@h ere.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 for my
self so everything is correct. I just need to be allowed to de thede task
for a while. Is it impossible?
Regards
Anders
|
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 similar program or part of code I don't know
how get signal F1 pressing and neutralize it?
|
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 functionality.
I'd like to have the paste button disabled when the clipboard is
empty, but I'm not sure how I should do this. Ideally, I suppose I'd
like to constantly monitor the clipboard for data, (in a thread?) but
I'm not even sure how I'd...
|
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 able to DELETE
rows.
The OleDbCommandBuilder automatically creates the DELETE SQL statement.
Is there any way I can disable it? If not, what approach should I be
using?
Thanks!
| |
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 Event, but it don't
work on Other Browser, so I need your helping hand
|
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.
i have one more problem and that is i want to disable my total field. i eman teh user cant enter any data in total fields. my total field is working under save buttom. i mean when i press teh save buttom it will calculate the total. it is working...
|
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 permit the keys in the keypress event of any textbox
by using this code:
Dim comp As Boolean
comp = Chr(KeyAscii) Like ""
If Chr(KeyAscii) = vbBack Then Exit Sub
|
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: 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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
| |
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |