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
-
Define a global field of type I with the technical name NUMBER .
-
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.
-
On the Calculations tab fill the following fields:
-
Column
Value
Operation
Number
Target Field Name
NUMBER
Event
Before Loop
Initialization
(active)
-
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.