Show the current row index

Perform this procedure to show the current row index in a report.

  1. Create a new report or open an existing one.
  2. Drag required fields from the Field List onto the report's Detail band.
    Show current row index

    For details, see Report bands.

  3. To create an exact copy of the Label that will display the index, press Ctrl on the keyboard while you drag the field for which the current row index will be displayed.
    Show current row index
  4. Select the new Label, and in the Property Grid, click the browse button (...) in the Summary property box.
    Show current row index
    This opens the Summary Editor dialog box. In this dialog box, the Bound field is already set to the required data field.
  5. For Summary function, click RecordNumber.
  6. To avoid null data fields from affecting the calculation, select the Ignore NULL values check box.
  7. Finally, for Summary Running, click Report (Group or Page if required)
  8. Click OK to save your changes and close the dialog box.