Microsoft Office Tutorials and References
In Depth Information
Using Form Headers and Form Footers
The Form Header and Form Footer sections let you add titles, instructions, command
buttons, and other controls to the top and bottom of your form, respectively. Controls
placed in the Form Header or Form Footer sections remain on the screen whenever the
form is displayed in Form view or Layout view; they do not change when the contents of
the Detail section change as you navigate from one record to another record.
To add either a form header or footer to your form, you must first add both the Form
Header and Form Footer sections as a pair to the form. If your form needs one of these sec-
tions but not the other, you can remove a section by setting its height to zero, which is the
same method you would use to remove any form section. You can also prevent a section
from appearing in Form view or in Print Preview by setting its Visible property to No. The
Visible property determines if Access displays a control or section. Set the Visible property to
Yes to display the control or section, and set the Visible property to No to hide it.
You can add the Form Header and Form Footer sections as a pair to a form either
directly or indirectly. The direct way to add these sections is to click the Form Header/
Footer button in the Show/Hide group on the Arrange tab. This direct method is available
only in Design view. The indirect way to add the Form Header and Form Footer sections
in Layout view or Design view is to use one of these four buttons in the Controls group
on the Design tab: the Logo button, the Title button, the Page Numbers button (Insert
Page Number button in Design view), or the Date and Time button (Date & Time button
in Design view). Clicking any of these four buttons causes Access to add the Form
Header and Form Footer sections to the form and to place an appropriate control in the
Form Header section. If you use the indirect method in Layout view, Access sets the Form
Footer section’s height to zero. In Design view, the indirect method creates a nonzero
height Form Footer section. Note that the Page Numbers button is dimmed, and thus
inactive, in Layout view. Many forms contain a title and possibly a picture, but forms
rarely display a page number or the date and time, so an inactive Page Numbers button
is not a problem, especially because you can add page numbers in Design view.
Tip
If you’ve set the Form
Footer section’s height to
zero or set its Visible prop-
erty to No and a future
form design change makes
adding controls to the
Form Footer section neces-
sary, you can restore the
section by using the
pointer to drag its bottom
edge back down or by set-
ting its Visible property
to Yes.
Reference Window | Adding and Removing Form Header and Form Footer Sections
• In Design view, click the Form Header/Footer button in the Show/Hide group on the
Arrange tab.
or
• In Layout view or Design view, click a button in the Controls group to add a logo, title,
page numbers, or date and time to the form.
• To remove a Form Header or Form Footer section, drag its bottom edge up until the sec-
tion area disappears or set the section’s Visible property to No.
Lucia’s design includes a title at the top of the form. Because the title will not change
as you navigate through the form records, you will add the title to the Form Header sec-
tion in the form.
Adding a Title to a Form
You’ll add the title to Sarah’s form in Layout view. When you add the title to the form in
Layout view, Access adds the Form Header section to the form and places the title in the
Form Header section. At the same time, Access adds the Page Footer section to the form
and sets its height to zero.
Search JabSto ::




Custom Search