Solved

access shortcut keys conflict

Posted on 2013-06-26
9
488 Views
Last Modified: 2013-06-26
Dear experts -
I have a form where I want to add shortcut keys to a few buttons - e.g., "&M" "&E" etc.
What is happening is that when I press ALT+the designated letter, it is invoking an Access menu (and prompting me to add another letter to choose the option).
Is this a setting I need to change somewhere?
Thanks!
0
Comment
Question by:terpsichore
9 Comments
 
LVL 84

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 250 total points
Comment Utility
What version of Access are you using? There have been some issues with hotkeys in recent versions ...
0
 
LVL 47

Assisted Solution

by:Dale Fye (Access MVP)
Dale Fye (Access MVP) earned 250 total points
Comment Utility
You could also write your own "Hot Key" process for a particular form by setting the Forms KeyPreview property to Yes.

Then use the KeyDown event to trap for specific key combinations.  If one of your specified combinations is found, then set the KeyCode value to 0 and then call the function or subroutine you want to use.
0
 

Author Comment

by:terpsichore
Comment Utility
I'm using Access 2010; some users are using 2007
0
 
LVL 77

Expert Comment

by:peter57r
Comment Utility
"I'm using Access 2010; some users are using 2007 "

You won't get far with that arrangement.  You need to be developing in A2007 if you have A2007 users.
0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 

Author Comment

by:terpsichore
Comment Utility
it's been working well for the last few years...
0
 

Author Comment

by:terpsichore
Comment Utility
Found the answer - you need to unselect "default shortcut menus" in the options for current database... (unfortunately, we like to use these, so I will have to find out which key combinations do not conflict)...
0
 

Author Closing Comment

by:terpsichore
Comment Utility
see my final note - this was the root cause
0
 
LVL 75

Expert Comment

by:DatabaseMX (Joe Anderson - Access MVP)
Comment Utility
"I'm using Access 2010; "
Well, what LSM said is still correct. I can guarantee you that Access Hot Key behavior has been negatively affected by the Ribbon - for sure.

There is a long standing bug report on a specific instance that Microsoft is well aware of ... and apparently - quote: "the chance of this getting fixed is zero" :-(

I has to do with using hot keys on controls (like a button) where the button is on a Tab Control. ALT+<HotKey) does nothing, zero. :-(

So, you are stuck doing what fyed suggested. Extremely annoying.
0
 

Author Comment

by:terpsichore
Comment Utility
many thanks to all - in fact - I did find another solution, which a friend suggested and was the last thing I would have considered - you need to HOLD DOWN the alt key - I was releasing it too soon and it was invoking the Access menus! if you hold down the alt key and then the shortcut, it works fine...
0

Featured Post

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now