ACC2000: How to Use the Tab Control in AccessID: Q208785
|
This article demonstrates how to use the tab control on a form in Microsoft Access.
CAUTION: Following the steps in this example will modify the sample
database Northwind.mdb. You may want to back up the Northwind.mdb file
and perform these steps on a copy of the database.
A tab control is the easiest and most effective way to create a form with
multiple pages or multiple embedded subforms.
With a tab control, you can build separate pages into one control. To
switch pages, you click one of the tabs on the control. To see an example
of a multi-page form that uses the tab control, open the Employees form (not the Employees (Page Brake) form) in the sample database Northwind.mdb or in NorthwindCS.mdb.
The following steps show you how to create a form with a tab control, where
the tab control is a container for multiple subforms. This example uses the sample database Northwind.mdb, but you could do this in the sample Access project NorthwindCS.adp as well:
Form: My Switchboard
--------------------
Width: 6"
Detail Section:
Height: 5"
Label:
Caption: Switchboard
Left: 2"
Top: .5"
Width: 2"
Height: .5"
FontSize: 24
Left: .25"
Top: 1"
Width: 5.5"
Height: 4"
Left: 0"
Top: 1.25"
Width: 6"
Height: 4"
NOTE: Some of these properties may force a minimum default value. For example, Left may default to a minimum value of .0938".
Left: 0"
Top: 1.25"
Width: 6"
Height: 4"
NOTE: Some of these properties may force a minimum default value. For example, Left may default to a minimum value of .0938".
Left: 0"
Top: 1.25"
Width: 6"
Height: 4"
NOTE: Some of these properties may force a minimum default value. For example, Left may default to a minimum value of .0938".
For more information about creating a form with multiple pages or tabs, click Microsoft Access Help on the
Help menu, type "tab controls" in the Office Assistant or the Answer Wizard,
and then click Search to view the topics returned.
Additional query words:
Keywords : kbdta FmsHowto
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbhowto
Last Reviewed: May 13, 1999