Results 1 to 11 of 11
  1. #1
    sergran is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    Jun 2013
    Posts
    115

    Autokeys


    Hello everyone, I need your aito. On a form, I would like to shift the focus from a combo to one another via the directional arrow ON the keyboard. I read that you have to use the macro Autokeys but I could not figure out how. You could give me some help?
    thanks

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,901
    Interesting, I have use of cursor movement keys when I first open firm, but goes away after mouse click. Comes back after use Tab key.

    Form opens with focus on a combobox. Right cursor key moves to next control.
    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
    sergran is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    Jun 2013
    Posts
    115
    I'm sorry but I did not understand ... I would bisogo an example of Autokeys to use the direction arrow down to move the focus from one combo to another
    thanks
    Hello

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,901
    I am saying I have use of direction arrow keys without any code. It is native behavior in the form.

    I looked, did not find any references for autokeys macro to control cursor keys.
    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.

  5. #5
    sergran is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    Jun 2013
    Posts
    115
    Focus.zipUnfortunately I have a problem in the mask that I enclose in the db. I can move only thanks to the Tab key, but not with the arrows ... I mean to say you'd know how I could fix it?

  6. #6
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows XP Access 2003
    Join Date
    Aug 2013
    Posts
    7,862
    Perhaps the answer you are looking for is not in AutoKeys but in the TAB properties of the controls.

    If you look at a control's properties and click "Other", you will see two options for the TAB properties. You can adjust whether or not the control will receive focus using the Tab Stop property and you can adjust the order the control will receive focus by adjusting the Tab Index. Tab Index begins with 0.

    Edit: I was typing while you posted. I guess, never mind

  7. #7
    sergran is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    Jun 2013
    Posts
    115
    No excuse, I have not explained well ... in the mask attached, with the tab move the focus from one to the other combo but I would get the same thing with the arrow keys. is it possible?

  8. #8
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows XP Access 2003
    Join Date
    Aug 2013
    Posts
    7,862
    I imagine you would. That is what June7 is explaining in post # 4

  9. #9
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows XP Access 2003
    Join Date
    Aug 2013
    Posts
    7,862
    I use Tab and Shift + Tab for data entry into forms myself.

  10. #10
    sergran is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    Jun 2013
    Posts
    115
    Yes, but I was looking for a way to use the directional arrows

  11. #11
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,901
    The arrows already work. Review earlier posts.
    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.

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