The articles in this section of the Knowledge Base involve working with Lists for display in your reports. To learn more about Lists and how to access the Report Designer, see Creating Lists in Report Designer. This article provides information on adding numbering to a list.
When it is necessary to work with number lists, an enumerated list can be generated. In Figure 01, an enumerated list is demonstrated:
The Line system variable is used to number the rows of a table. To get the results from Figure 01, I modified the data column, {Products.Name} to read:
The Line system variable prints the number of the current row. Numbering starts at one. In the first row, the system variable returns 1, returns 2 on the second row, etc.. The Line variable is of the Int64 type. The Line variable can also be used in arithmetic expressions. To start your number list at 0, use the following expression:
There are also the LineABC and LineRoman system variables that can be used to number a list. LineABC produces an alphabetical index as opposed to a number for a row. LineRoman produces Roman numerals as opposed to a standard numbers. LineABC is demonstrated in Figure 02.
LineRoman is demonstrated in Figure 03.
LineRoman and LineABC return numbers as strings. They can be printed in lower case using the following expression: