473,803 Members | 3,431 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Shortcut Keys Access 2000

2 New Member
I have an option group with 12 toggles within this group. I am having difficulty creating shortcut keys with "&" in the Name because my I would like to use 1-9 numerical keys which is ok, but I am unable to create a two key shortcut to the remaining toggles eg: 10, 11, 12. Hope I am not expecting to much from Access 2000. Any suggestions would be greatly appreciated.

Thanks Glenn
May 22 '08 #1
4 2211
missinglinq
3,532 Recognized Expert Specialist
Actually, you're expecting too much of any programming language! A shortcut consists of one or more special keys, such as <Alt> , <Shift> and/or <Ctrl> and another key. You can't use a special key and two other, non-special keys, in any language I'm familiar with. And to be honest, in almost twenty years, I've never seen this done with an option group. To do this you'll have to use Alpha characters for the other options, or perhaps better yet, use Alpha characters for all choices.

Welcome to bytes!

Linq ;0)>
May 22 '08 #2
puppydogbuddy
1,923 Recognized Expert Top Contributor
Try using ascii codes and see if Access translates it for you. For example:

Key Value <.............. .....> Ascii
10<............ ............... ..>Chr(49)&Chr( 48)
11<............ ............... ..>Chr(49)&Chr( 49)
12<............ ............... ..>Chr(49)&Chr( 50)

if the ampersand is effecting the "display" of shortcut, try using either, a plus sign or double ampersand && in place of the ampersand with the ASCII above.
May 22 '08 #3
Glenn309
2 New Member
Try using ascii codes and see if Access translates it for you. For example:

Key Value <.............. .....> Ascii
10<............ ............... ..>Chr(49)&Chr( 48)
11<............ ............... ..>Chr(49)&Chr( 49)
12<............ ............... ..>Chr(49)&Chr( 50)

if the ampersand is effecting the "display" of shortcut, try using either, a plus sign or double ampersand && in place of the ampersand with the ASCII above.
Thankyou for your reply.

I am a real novice with access. I understand ascii codes but I am not sure as to where I enter the key value. You help is appreciated.

Regards Glenn
May 22 '08 #4
puppydogbuddy
1,923 Recognized Expert Top Contributor
Thankyou for your reply.

I am a real novice with access. I understand ascii codes but I am not sure as to where I enter the key value. You help is appreciated.

Regards Glenn
Hi Glenn,
how are you using the decimal keys you are using now? Are you using the buttons name property or a caption property or ?? A little more info would be helpful....but I would think the ascii conversion shown above would convert to its decimal equivalent wherever you are using the decimals now, but especially in a code proc.
May 23 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

4
3349
by: Maurice Mertens | last post by:
Hi, I'm trying to set shortcut keys for textboxes. But what is the best way to do this in VB.NET. In Access it was very simple, just put an "&" sign in the label that belongs to the textbox. But in VB.NET it looks like you have to program code for the shortcut keys. Like putting this code in the Form_KeyUp: If e.Alt And e.KeyCode = Keys.L Then Me.ActiveControl = Me.TextBox1
5
5180
by: Steven | last post by:
I have some text boxes on a form in MS Access 2000. When I right click in them I don't get any shortcut menu at all. I want the normal cut, copy, and past menu to come up. In the "Startup", I have the "Shortcut Menu Bar:" set to (default) The "Shortcut Menu Bar" property of the text boxes, is empty. So, where is my cut, copy, and past????? Thanks....
0
1750
by: Saper\(ek\) | last post by:
this is a strange behavior of buttons with shortcut keys, when You have a datagrid on a form and some buttons with shortcut keys. When You click on the datagrid (anywhere but the cells, free space, header or something) and press the shortcut key (without the ALT key pressed) button's action is called. You can easyli recreate this by creating a simple project with datagrid and a button with shortcut key (&Delete in the Text property for...
2
11778
by: philelpko | last post by:
Morning all, My database is now secure and hosted on the network and appears to be happily running thanks to several (hundred) posts on this site so thanks to everyone for the help. One person unfortunately did some final destructive testing for me which seem to consist of nothing more than hitting random keys on the keyboard. This, to my horror, unfortunately this found a fault. Shortcut keys. I have found a few threads online but...
1
2916
by: Emma Middlebrook | last post by:
Hi there, I'm trying to handle some shortcut keys within my application and I can't seem to get the code to work when you are trying to action against a ctrl + other character. I found a post http://groups.google.co.uk/group/microsoft.public.dotnet.languages.csharp/browse_thread/thread/a0bfd442d01f715f/27cbc8062c107680?lnk=gst&q=c%23+shortcut+key+ctrl&rnum=3&hl=en#27cbc8062c107680 that appears to help a lot but it doesn't seem to work...
0
2649
by: thirunavukarasukm | last post by:
Hai... How to Usercontrols with Shortcut Keys... I am creating one windows apllication.. the apllication contain many form.. in one form i am used one usercontrol(parent control)..
1
1700
sujathaeeshan
by: sujathaeeshan | last post by:
Hi all, I need to provide shortcut keys for controls like text box and buttons etc... That is i dont want to go for tabspace or mouse click for perticular controls.. By having shortcut keys i need to go for specifeid controls(textbox,button)... Is there any way to provide shotcut keys for controls.....or built in property values..... could any anoe help me out of this query...
1
1854
by: blad3runn69 | last post by:
Hello, Was hoping someone could suggest possible causes for form command button shortcut keys (ie. ALT+key) not to respond. Thanks :) The form is a search forrm. Shortcuts only work when there are filtered results diplayed. Hope this makes some sense. Thanks in advance for your help and ideas muchly appreciated! :)
1
4167
by: scudsong | last post by:
I override ProcessCmdKey() in my MDI parent form class and have some keyboard shortcut calling method in same class. But I wish to make these hotkeys working in parent/child form and other form. The case now is when focus on the other form(regular form, not MDI), ProcessCmdKey() doesn't capture keyboard anymore. Which class should I put ProcessCmdKey() in and anything to make it work? Thanks! namespace myNamespace { public class...
0
9703
marktang
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...
0
9564
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,...
0
10548
Oralloy
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...
0
10316
jinu1996
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...
0
9125
agi2029
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...
0
5500
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...
1
4275
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3798
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2970
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.