Add page numbers for groups

This topic demonstrates how to display page numbers individually, for each group in your report. To demonstrate this feature, we'll use a report, similar to the one created in Change or apply data grouping.

To add page numbers for groups:

  1. From the Toolbox, drop the page info control onto the Group Footer.

    Drop the page info control onto the Group Footer

  2. Then, select the control and set its Running Band to GroupHeader1. If required, you also can specify its Format property (e.g. Page {0} of {1}).

    Set Running Band to GroupHeader1

  3. Now, you should force each new group to start on a separate page. Otherwise, group page numbers will be calculated incorrectly. To do this, select the Group Footer and set its Page Break to After the Band.

    Set Page Break to After the Band

  4. Finally, select the Group Footer and click on its Smart Tag. In its actions list, check the Repeat Every Page option. Then you can do the same for the Group Header as well.

    The Repeat Every Page option

The report is now ready. Switch to the Preview tab to view the result.

Page numbering applied to report