Results 1 to 4 of 4
  1. #1
    EddieN1 is offline Competent Performer
    Windows XP Access 2007
    Join Date
    May 2011
    Posts
    316

    Keyboard Shortcut to Navigate to a Textbox

    I have a user who struggles with mouse navigation. Is there a way I can provide a keyboard shortcut to take her directly to a textbox? For example, on the form is Address1, Address2, Address3, etc. Can I program alt-A to go to Address1, then alt-A again takes her to Address2, and alt-A again to Address3? If not, can I use a multi-character shortcut key, such as alt-A1, alt-A2, alt-A3, etc.



    Thanks

  2. #2
    amrut is offline Expert
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2012
    Location
    India
    Posts
    616
    Reset the tab index starting from 0 (zero) of all the textboxes you want the user to navigate to. Then, the user can use the Tab key to move to next text box and Shift+Tab to the previous one. Go to Property Sheet > Other >Tab Index to change it. By setting the tab index, you can control the navigation of users from one control to another for all controls on the form.
    One more option is to change the associated label caption using accelerator key like Address&1,Address &Home etc. The user can use Alt + 1,Alt+h ( the character preceding the & symbol) to go to that text box.

  3. #3
    EddieN1 is offline Competent Performer
    Windows XP Access 2007
    Join Date
    May 2011
    Posts
    316
    amrut,... thanks for the response... I understand and use the tab/alt tab navigation. I have set the caption on the associated label as you suggested (and as I have on the command buttons), but I can't get it to work. Is there something else that needs to be set/cleared. I have ensured that the label is associated with the textbox. Anything else I should check? Thanks again.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    amrut's suggestions should work (although it would be the character following the & symbol - reading left to right - that would be used in the accelerator combination)

    If you want to provide db for analysis, follow instructions at bottom of my post.
    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.

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

Similar Threads

  1. VBA Code to automatically activate keyboard shortcut
    By nygiantsfan in forum Programming
    Replies: 1
    Last Post: 07-08-2014, 11:45 AM
  2. Replies: 4
    Last Post: 06-08-2014, 11:53 AM
  3. Keyboard Shortcuts
    By emberk in forum Access
    Replies: 1
    Last Post: 05-27-2014, 05:47 PM
  4. Keyboard shortcut for Commenting
    By Ashe in forum Forms
    Replies: 1
    Last Post: 12-09-2011, 12:28 PM
  5. Replies: 0
    Last Post: 09-23-2009, 10:52 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