Adding Page Headers and Footers to a Form
Page Headers and Page Footers display only when the form is printed. They usually contain information that is not calculated until that time. For example, Page Footers often contain page numbers or the current date.
To add a Page Footer with a calculated control:
- Make sure the form is open in Design View.
- From the View menu, select Page Header/Footer.
- Click the Toolbox Text Box button to create an unbound text control.
- Click the area of the Page Header or Footer where you want your control to appear.
- Click the Properties toolbar button.
- Click the Data tab if necessary.
- Click in the Control Source box.
- Click the Expression Builder button.
- Click the Common Expressions folder.
- Double-click the expression that you want to add.
- Click the OK button.
- Close the Properties dialog box by clicking the Close box in the upper right corner.
|
Because Page Headers and Page Footers only show when the form is printed, use Print Preview to see the results. Open the Print Preview window by clicking the Print Preview toolbar button or selecting Print Preview from the File menu.
|
|
You can open the Properties dialog box by:- Right-clicking on the control, then selecting Properties from the shortcut menu.
- Selecting Properties from the View menu.
|