Results 1 to 4 of 4
  1. #1
    taimysho0 is offline Competent Performer
    Windows XP Access 2000
    Join Date
    Nov 2011
    Posts
    286

    Making "Hot Keys" On FORM

    Hello, not sure if this is possible but is there a way to create a hot key on a form? for example, if i have a button that says "Email" or "Maintenance" is there a way to press Ctrl+E on the keyboard and itll go focus directly on the Email button? and same thing with Ctrl+M will goto the "Maintenance" button?? thanks!

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,816
    The & character in a command button caption will designate the character that follows as a 'hot' key. Then Alt+key will execute the associated Click event. The 'hot' key character will have an underscore in Form view. If there are no data entry controls on the form (such as a main menu with only buttons) don't even have to press the Alt.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    suttilld is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jun 2012
    Posts
    14
    You need to put an "&" in front of the letter in the caption you want to be the shortcut. SO for the Email button the caption in properties would look like "&Email". On the button it would look like "Email". To invoke the shortcut press Alt + E.
    Hope that helps.

  4. #4
    taimysho0 is offline Competent Performer
    Windows XP Access 2000
    Join Date
    Nov 2011
    Posts
    286
    thanks guys, you guys are amazing

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 11
    Last Post: 03-29-2012, 02:32 PM
  2. Replies: 3
    Last Post: 08-02-2011, 09:25 PM
  3. Replies: 16
    Last Post: 07-22-2011, 09:23 AM
  4. Replies: 5
    Last Post: 05-23-2011, 11:28 AM
  5. Making myself a "Trusted Publisher".
    By BobbyWray in forum Security
    Replies: 1
    Last Post: 05-18-2009, 01:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums