Count the Number of Records in a Report or Group

<< Click to Display Table of Contents >>

Navigation:  User Interface (UI) Elements > Report Designer > Count Elements and Values >

Count the Number of Records in a Report or Group

 

Display Row Numbers in a Report, Group or Page

This document describes how to show the current row number for each data source value displayed in a report.

A label can display row numbers after binding your report to data and specifying a bound data field in the Label's Expression property.

1.Click the label's smart tag. In the invoked Label Tasks window, click the Summary property's ellipsis button.

CNRRG1

2.In the Summary Editor window:

CNRRG2 Set the Summary running property. Select Report to increment the row numbers throughout the entire report, or select Group or Page to reset the row numbers for every group or page.

 

CNRRG3

 

3.Back in the Label Tasks window, you can use the FormatString property to format the resulting value:

CNRRG5

You can switch to Print Preview to see the record numbers displayed for the specified range.

CNRRG6