Numbering Table Items Consecutively

Use

You want to have a column in your table output in which the individual items of your table receive an ascending number.

Prerequisites

The same prerequisites as for Examples.

Procedure

  1. Define a global field of type I with the technical name NUMBER .
  2. Enhance your line type for the table items and the table heading by one cell that displays the item number. For the output of this cell in the main area insert a text node. Use the text node to display the NUMBER field.
  3. On the Calculations tab fill the following fields:

    Column

    Value

    Operation

    Number

    Target Field Name

    NUMBER

    Event

    Before Loop

    Initialization

    (active)

  4. If desired, you can display NUMBER at the end of the table in the footer area.

Result

The items of the table are numbered consecutively.