keyboard shortcut not woking with MDE

G

Guest

I assign caption to my main command buttons on my initial startup menu like
&A - Client
&B - Reports
The appear without the & but underlined.

Normally by hitting alt A or alt B the button is launched. When I make the
MDE the keybourd shortcut no longer works. Any help would be appreciated.

Thanks
 
A

Allen Browne

Eric, the keyboard shortcuts should work as you expect in an MDE.

Are these in the Caption of the buttons?
In the Caption of a label attached to the buttons?

Does the button get focus when you type the shortcut, even if the event
procedure does not execute?

Is there anything else that could prevent it getting focus, or prevent the
procedure executing, e.g. another procedure that must execute first and
cannot complete, or some issue that is being masked by an On Error Resume
Next or suppression of error messages?

Do other things work in this database?

What version of Access? And what service patch?
 
G

Guest

Allen,

I had a setfocus command on loading the form which appears to be the cause.

Thanks for your fast response
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top