<< Click to Display Table of Contents >>

 

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.

eurd-win-shaping-row-numbers-summary-running

2.In the Summary Editor window:

oSet 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.

oSet the Summary function property to Record Number.

eurd-win-shaping-row-numbers-expression-property

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

eurd-win-shaping-row-numbers-format-string

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

eurd-win-shaping-row-numbers-result