The Report Builder includes a built-in calculated field named PAGE_NUMBER, which displays the current page number when you place it on a report band.
Add a built-in calculated field
- Click the Field tool in the toolbox.
- Drag in the center of the header or footer band to define the size of the page number field.
The Add Field dialog box appears, listing all fields defined for the report, including built-in calculated fields and input parameters.
- Select calc.PAGE_NUMBER, and click OK.
You can use the Field tool to add any type of field (query field, calculated field, input parameter) to a report.
For information on the other built-in calculated fields, see the Report Builder online Help.