Using QMF

Adding the date, time, and page number to a heading or footing

You can display the date, time, or page number on a page heading or footing by using form variables.

You can use the following variables in a report:

&DATE
Adds the current date to a heading or footing when you run the report.

&TIME
Adds the current time to a heading or footing when you run the report.

&PAGE
Adds the current page number to a heading or footing when you run the report.

When the date, time, or page number is displayed in a page heading or footing, it is not displayed at the bottom of the page of the printed report.

To add the date, time, or page number: You can also specify text before or after the form variable. In this example, to add the date to the second line of the report heading, change the alignment to LEFT, and type Date: &DATE in the PAGE HEADING TEXT field on the second line of the page heading. For more information on form variables, see the QMF Reference, SC26-4716-05.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]