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

Shortcut Keys Access 2000

P: 2
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
Share this Question
Share on Google+
4 Replies


missinglinq
Expert 2.5K+
P: 3,532
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
Expert 100+
P: 1,923
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

P: 2
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
Expert 100+
P: 1,923
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

Post your reply

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