Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Moving Between Main Form and Subform with TAB or Enter Keys

Form Basics

Moving Between Main Form and Subform with TAB or Enter Keys

by  tlbroadbent  Posted    (Edited  )

Access help has the following information about navigation between main and sub forms.

[color maroon]To move from the last field in the main form to the first field in the subform, press TAB.

To move from the first field in the subform back to the last field in the main form, press CTRL+SHIFT+TAB.

To move from the last field in the subform to the next field on the main form or to the first field in the next record or next page of the main form, press CTRL+TAB. If the Cycle property of the form is set to Current Record or Current Page, you must use the navigation buttons or other methods provided on the form to move to the next record.[/color]

---------------------------

Although the navigation instructions provided are helpful it is more intuitive to use the TAB key to navigate. Microsoft provided an article explaining how to code a solution that allows users to navigate between form and subform with TAB and Enter keys. The articles contain links to sample downloads.

ACC: How to Move from Subform to Main Form by Using TAB or ENTER
http://support.microsoft.com/support/kb/articles/Q154/8/93.asp

ACC2000: How to Move from Subform to Main Form by Using TAB or ENTER
http://support.microsoft.com/support/kb/articles/Q210/0/11.ASP

ACG Soft provides a more comprehensive solution.

How to control Tabbing and "Enter" key movement in and out of a sub-Form and a Main Form.
http://ourworld.compuserve.com/homepages/attac-cg/AFormTip.htm#KEY
Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top