Microsoft Access - Tip # 2: Tab Order in Forms
When designing forms it is very important to ensure that the tab order is logical / correct. From a user's perspective it is very frustrating
when this does not occur.
When the user enters data into a field on a form then presses the TAB key, the focus is moved to the next designated field. Usually the
tab order is the order in which the fields are displayed on the form. However, this can be changed if required, e.g.
data being entered may be taken from a hard copy form - when reading the data from the form, it is useful for the user to enter
the data based on the order of data on the hard copy form.
Also, adding a new field to the form may render the form's tab order incorrect; the tab order should then be corrected.
To Modify A Form's Tab Order
- Open the form in design view - within the Database Window Forms Objects list, select the form and
either click on the Design Button,
,
or press CTRL + ENTER.
- Within the form's design view, Right-Click and select Tab Order. The following dialogue is displayed:
- Select the required section, then follow the instructions provided to change the order of fields/controls as required.
(Note, to drag, click and hold on the 'box' to the left of the field/control name.)
Suggestion: Ensure that each control is named appropriate to the associated field data, i.e. avoid default names such as
Text55, Combo22. For forms containing a large number of controls, appropriate naming will make changing the Tab Order
an easier process.
Related Tip:
Access Tip # 3: Assigning A Keyboard Shortcut To Form Fields/Controls