Solved

access shortcut keys conflict

Posted on 2013-06-26
9
525 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
9 Comments
 
LVL 85

Accepted Solution

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

Assisted Solution

by:Dale Fye (Access MVP)
Dale Fye (Access MVP) earned 250 total points
ID: 39277527
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
ID: 39277564
I'm using Access 2010; some users are using 2007
0
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 
LVL 77

Expert Comment

by:peter57r
ID: 39277575
"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
 

Author Comment

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

Author Comment

by:terpsichore
ID: 39277621
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
ID: 39277626
see my final note - this was the root cause
0
 
LVL 75
ID: 39278771
"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
ID: 39278800
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

AutoNumbers should increment automatically, without duplicates.  But sometimes something goes wrong, and the next AutoNumber value is a duplicate.  This article shows how to recover from this problem.
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

717 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