Numbering of pages in a composite report
You can use the «Page», «Page#», «TotalPages» and «TotalPages#» system variables for displaying a page number or a total number of pages. In composite reports, these variables work in the following way:
Page
– page number in the current report
Page#
- page number in the batch
TotalPages
– total number of pages in the current report (a report must be a two-pass one)
TotalPages#
- total number of pages in a batch.