Using Access's Tab Control to Create a Multipage Form.
Using Access's Tab Control to Create a Multipage Form
One of the best features added in Access 97 was the Tab control
found in the Form Design toolbox. In Access 2000, the Tab control continues its role of allowing you to organize multiple pages of related information on a single
form. It also allows you to move from page to page by clicking the tabs at the top of the Tab control. You can see two pages displayed in the next two figures:
one page
Both of these pages make up a form with information about projects. The last page displayed uses a Subform control, discussed in the previous lesson.
Adding a Tab control to a form
To add a Tab control to a form, you need to:
Click on the Tab control in the toolbox.
Drop the control onto the form you desire. You will then be presented with two pages by default.
Open the property sheet by clicking on the Property Sheet toolbar button.
Once you have added the Tab control to a form, you can change the caption of each of the pages by clicking on the current caption of the page you want, then changing the Caption property located on the Format tab of the property sheet.
Adding information to a Tab control page
To add information to the individual pages, click the caption of the page in which you want to place the information, then place the controls on the Tab control as you would on the form itself.
Other Tab control issues
There are other ways to work with the Tab control, such as adding, deleting, and moving pages. To do this, right-click on the Tab control, and you will see this menu displayed:
Allows you to insert a page into the Tab control after the currently selected page
Deletes the currently selected page from the Tab control.
Lets you organize the order of the pages in the Tab control.
Affects the tab order of the currently selected page in the Tab control.
Tab Control Right Click Menu Options
The last choice presented in the MouseOver, Tab Order, gives you the ability to control the tab order on each of the pages.
To change the tab order:
Highlight the page using the page’s tab.
Right-click to display the shortcut menu, then choose Tab Order.