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.
Warning
Use the approach below if expression bindings are not enabled in the Report Designer (the Property Grid does not provide the Expressions tab ).
See Display Row Numbers in a Report, Group or Page if expression bindings are enabled in the Report Designer (the Property Grid provides the Expressions tab).
A label can display row numbers after binding your report to data and specifying a bound data field.
Click the label's smart tag and invoke its Summary Running drop-down list. 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.
Set the Summary Func property to Record Number and use the Format String property to format the summary's value.
You can switch to Print Preview to see the record numbers displayed for the specified range.