|
Here are the correct property settings for "Page N of M" textboxes for adding page numbering to your ActiveReport. Page numbering in the page footer txtN: - DataField blank
- DistinctField blank
- SummaryFunc Sum
- SummaryGroup blank
- SummaryRunning All
- SummaryType PageCount
txtM: - DataField blank
- DistinctField blank
- SummaryFunc Sum
- SummaryGroup blank
- SummaryRunning None
- SummaryType PageCount
If you also want group page counts, you can add textboxes in the group header with settings as follows: Page numbering in the group header txtN: - DataField blank
- DistinctField blank
- SummaryFunc Sum
- SummaryGroup Header's name
- SummaryRunning Group
- SummaryType PageCount
txtM: - DataField blank
- DistinctField blank
- SummaryFunc Sum
- SummaryGroup Header's name
- SummaryRunning None
- SummaryType PageCount
Note: For page numbering in the GroupHeader to show on every page, you will also need to set the Repeat property of the GroupHeader section to OnPageIncludeNoDetail. (OnPage would also work, but may leave orphaned GroupFooters from time to time.)
|