SAP Knowledge Base Article - Public

1212991 - How to display the total page count on the Crystal Reports viewer toolbar


An application uses the Crystal Reports viewer (CRViewer) to view a report at runtime. When you initially preview a report, the toolbar in the CRViewer displays page 1 of 1+.

How do you display the total page count when you initially preview a report? For example, if you have a report that is ten pages and you would you see page 1 of 10 on the toolbar.


  • Crystal Reports 2008


To display the total page count on the toolbar do the following:
  1. In the Crystal Report designer, click the Insert menu and then click Field Object .
  2. Expand Special Fields in the Field Explorer.
  3. Insert the Page N of M field in the Report Header.
  4. Suppress the Page N of M field (if you do not want it seen).


By inserting the Page N of M special field onto the report, you force Crystal Reports to process all pages in the report. This results in the total page count displaying on the toolbar.


ACTIVEX VIEWER TOTAL PAGECOUNT TOOLBAR PAGES RDC SMART VIEWER Report Designer Component CRViewer Toolbar Total page count , c2008533 , KBA , BI-RA-CR , Crystal Reports designer or Business View Manager , Problem


Crystal Reports 2008 V0 ; Crystal Reports 2008 V1 ; SAP Crystal Reports 2011 ; SAP Crystal Reports 8.0