SAP Knowledge Base Article - Public

2290916 - How to display the total number of pages for each group in Crystal Reports?

Symptom

How to display the total number of pages for each group in Crystal Reports?

Environment

  • Crystal Reports 2008
  • SAP Crystal Reports 2011
  • SAP Crystal Reports 2013
  • SAP Crystal Reports 2016

Resolution

  1. Launch Crystal Reports designer.
  2. Create a new report and add a group.
  3. From Design tab right click on the Group Footer and select Section Expert.
  4. On the Section Expert window, go to Paging tab and check the following options: 
    a. Reset Page Number After
    b. New Page After

    SectionExpert.PNG
  5. Click on OK
  6. Go to Field Explorer
  7. From Special Fields, select the TotalPageCount field and place in either Page Header or Page Footer section
  8. Run the report

The total number of pages for each group will be displayed on each page of the report.

Keywords

count, pagenumber, total, cr, crystal, group, pages per group, number of pages, crystal reports , KBA , BI-RA-CR , Crystal Reports designer or Business View Manager , How To

Product

Crystal Reports 2008 V1 ; SAP Crystal Reports 2011 ; SAP Crystal Reports 2013 ; SAP Crystal Reports 2016