• ** There has been a recent site upgrade. Please clear your browser cache to avoid issues. **
  • New forum feature - post voting and best solution

    Check out this thread for the details: https://www.access-programmers.co.uk/forums/threads/new-forum-feature-post-voting-and-best-answer.314134/

    This new feature looks great to me! :)

  • We now have 3 forum themes

    Go for the default (light) theme, Shades of Grey or Shades of Blue. I just added the Blue one.

    The thread about it is here: https://www.access-programmers.co.uk/forums/threads/new-forum-theme-shades-of-blue.314136/

Alt (%) could not be used in Macros (1 Viewer)

Haryjith

New member
Local time
Today, 23:27
Joined
Jun 4, 2019
Messages
7
My Data base is Ms Access 2003. When I try to Use ALT key symbol - % - in send key macros, it does not function.
An error message is shown. Message"The key or key combination %B in AutoKeys has invalid syntax or is not allowed.
I am not an advanced user of Ms Access. Can any one help me...?
 

theDBguy

I’m here to help
Staff member
Local time
Today, 10:57
Joined
Oct 29, 2018
Messages
12,533
Can you post a sample copy of your db?
 

Haryjith

New member
Local time
Today, 23:27
Joined
Jun 4, 2019
Messages
7
Thanks The DBguy.
Please see my database sample
 

Attachments

  • MyDataBase.mdb
    928 KB · Views: 9

theDBguy

I’m here to help
Staff member
Local time
Today, 10:57
Joined
Oct 29, 2018
Messages
12,533
Thanks The DBguy.
Please see my database sample
Hi. I'm looking at it now. It seems Ctrl+B works but neither Alt+B nor Shift+B does. I'll let you know if I find anything to help fix it or explain why.
 

theDBguy

I’m here to help
Staff member
Local time
Today, 10:57
Joined
Oct 29, 2018
Messages
12,533
Hi. Quick question. The file you posted was a MDB. But, which version of Access are you using on your machine?
 

theDBguy

I’m here to help
Staff member
Local time
Today, 10:57
Joined
Oct 29, 2018
Messages
12,533
Ok. Thanks theDBguy
The reason why I say that is because when I go to MS site, this is what I see (hint: no example of using Alt key).
However, if I do a Google search, I find this tutorial, which shows how to use the Alt key.
Unfortunately, though, that article uses the example of using %E. But when I try that, it still errors out. :(
 

isladogs

CID VIP
Local time
Today, 17:57
Joined
Jan 14, 2017
Messages
13,946
I can confirm that Alt cannot be used as part of an Autokeys macro. You are restricted to Ctrl &/or Shift
This may be to prevent confusion with hot keys that can be used with form controls where Alt is used
 

Haryjith

New member
Local time
Today, 23:27
Joined
Jun 4, 2019
Messages
7
Thanks members for the valuable information. Thanks a lot
 

Users who are viewing this thread

Top Bottom