Microsoft Office Tutorials and References
In Depth Information
Controlling Cursor Movement in Your Form
Controlling Cursor Movement in Your Form
You made a bunch of controls and formatted them nicely, and your form
looks pretty spiffy. But here’s a question you may not have thought about:
When you (or other people) are using the form to enter or edit data, how
does the cursor move from control to control? That is, when you press Enter
or Tab to leave a text box or other control that allows you to edit
information, which control does your cursor move to? Access calls the sequence
that the cursor goes through the tab order of the form.
Access stores the tab order for each form — a list of the editable controls
on the form (that is, controls that allow data entry or editing in Form view).
When you press Enter or Tab in Form view, your cursor moves from control
to control in the same order as the Access list. Here’s the problem: When
you create a new control, Access adds it to the bottom of the list even if the
control is at the top of the form. As a result, your cursor skips around when
you try to use the form.
The solution is to adjust the tab order of the form. To see the tab-order list,
follow these steps:
1. With the form in Design view, click Tab Order in the Tools group on
the Design tab of the Ribbon.
You see the aptly named Tab Order dialog box, shown in Figure 2-14.
Figure 2-14:
the order
in which
your cursor
moves from
field to field
on a form.
2. Change the order of the controls by clicking the gray box to the left of
a field name and dragging it up or down the list.
Search JabSto ::

Custom Search