Microsoft Office Tutorials and References
In Depth Information
Creating Tabbed Forms
You can add Form Header and Form Footer sections to your form by opening
the form in Design view, right-clicking anywhere in the form, and choosing
Form Header/Footer from the contextual menu. (You can get rid of the
sections by repeating the process.) Access creates a new, blank Form Header
section at the top of the form and a new, blank Form Footer at the bottom.
You can add controls to these sections by clicking the buttons in the
Controls group on the Design tab of the Ribbon:
✦ Logo: Adds a picture (which doesn’t have to be a logo) in the Header
✦ Title: Adds a label in the Header section
✦ Date and Time: Adds a text box with the current date, time, or both to
the Header section
You’ll find that the buttons in the Header/Footer group on the Design tab of
the Ribbon are useful, too.
To control the vertical size of the Header section, drag the top of the Detail
divider bar up or down to make the Header section larger or smaller.
Similarly, at the bottom of the form, you can drag the bottom edge of the
Footer section up or down.
Creating Tabbed Forms
Sometimes, you need to fit tons of information on a form, and you can see
that the form is getting to be the size of Nebraska. In addition to not fitting
on the screen, large forms are confusing: Where is the right box in which to
type this information?
One way to fit lots of information on a form while keeping the window size
down and making the form less confusing is to divide the form into tabs.
We’re talking about the kind of tabs that stick up from the tops of folders,
like those on the property sheet. Your forms can have tabs, too, with
different controls on each one. The entire form can be on the tabs, or the tabs
can occupy part of the form, with controls that remain visible regardless of
which tab you’re looking at. (We recommend the latter approach.)
To create tabs, first create a tab control on the form and then create
controls on the tab. Before you start, decide how many tabs you want and what
controls go on each tab. Then follow these steps:
1. With your form open in Design view, make some space on your form
where you want the tabs to go.
If your form is already crowded, just expand the form outrageously by
dragging its bottom edge down or its right edge right, and drag groups
of controls out of the way of your new tabs.