Adding Page Headers and Footers for Printing Forms

Access lets you add a separate pair of sections, Page Header and Page Footer, that appear only when the form prints. You add both of these sections to the form at once by choosing View, Page Header/Footer. The following list shows the purposes of Page Headers and Footers:

  • Page Header sections enable you to use a different title for the printed version. The depth of the Page Header can be adjusted to control the location where the Detail section of the form is printed on the page.

  • Page Footer sections enable you to add dates and page numbers to the printed form.

Page Header and Page Footer sections appear only in the printed form, not when you display the form onscreen in Form view. Figure 15.62 shows the frmHRActionEntry form in Design view with Page Header and Page Footer sections added.

Figure 15.62. Page Headers and Page Footers appear when you print the form, but not in Form view.

graphics/15fig62.jpg

With the Display When (Format) property of the Properties window for the Form Header and Form Footer sections, you can control whether these sections appear in the printed form. In Figure 15.62, the Form Header duplicates the information in the Page Header (except for the Date/Time label and text box), so you might not want to print both. To control when a section of the form prints or is displayed, perform the following steps:

  1. Double-click the title bar of whichever section of the form you want to change; this opens the related Properties window. (The Page Header and Page Footer sections don't have a Display When property; these sections appear only when printing.)

  2. Click the Format tab if the formatting properties aren't already showing. Click to drop down the Display When list.

  3. To display but not print this section in Form view, select Screen Only.

  4. To print but not display this section, select Print Only.



Special Edition Using Microsoft Office Access 2003
Special Edition Using Microsoft Office Access 2003
ISBN: 0789729520
EAN: 2147483647
Year: 2005
Pages: 417

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net