How to Create Reports Displaying Page N of M

<< Click to Display Table of Contents >>

 

How to Create Reports Displaying Page N of M

To create a Report in which each page prints an indication of Page N of M, in which N is the current page and M is the total number of pages, create two Texts and two SetPoints.

These two Texts correspond to Page and of texts, which must be inserted in the Caption property. Those two SetPoints correspond to N and M values, with the following properties:

 

SetPoint N

Name: txtPageNumber

SummaryGroup: GroupHeader1

SummaryRunning: 1 - ddSRGroup

SummaryType: 4 - ddSMPageCount

 

SetPoint M

Name: txtPageCount

SummaryGroup: GroupHeader1

SummaryType: 4 - ddSMPageCount

Was this page useful?