DB2 graphic  QMF Version 8

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 DB2 QMF Reference.


Go to the previous page Go to the next page

Downloads | Library | Support | Support Policy | Terms of use | Feedback
Copyright IBM Corporation 1982,2004 Copyright IBM Corporation 1982, 2004
timestamp Last updated: March, 2004