Page headers are commonly used to contain column headings. Page headers have the following characteristics:
Always print at the top of a page.
Always contain the first information printed on a page.
Directly precede report headers.
Only display the first row of data returned by a query.
Allow multiple types for different pages.
Only one allowed per page.
To accommodate the requirements of multi-page reports, the report writer supports the following five different types of page headers:
Prints at the top of the first page of a report.
Prints at the top of even pages of a report.
May be used to print at the top of any page of a report.
Prints at the top of the last page of a report.
Prints at the top of odd pages of a report.
Again, only one page header may be printed per page. When a report definition contains more than one page header, the report writer recognizes the page headers in the following order of precedence: 1) First Page; 2) Last Page; 3) Even Page(s); 4) Odd Page(s); 5) Any Page(s).
If your report definition includes both Even Page and Odd Page page headers, don't include an Any Page header. Based on the report writer’s precedence rules, the Any Page header would never print in this scenario.
To add a page header to a report definition using the section editor, select the type of page header you want to add from the Page Header section of the screen. For this exercise, we will add a first page header, as shown in the following screen:
As you can see, the Page Header section is added above the Report Header section. If subsequent page header sections are added, they will also be placed above the Report Header section, but below the First Page header.
To remove a page header from a report definition, simply uncheck the Page Header option you selected on the Section Editor screen.