How to enumerate elements in a report

Quite often you need to print out either the total number of data records in the report (or page or group) or the sequence number of a data record in the report (or page or group). This can be achieved by using the ELEMENT_COUNT or ELEMENT_COUNTER functions.

If you use ELEMENT_COUNT function inside a tag element the report will print out the total number of data records in the report (or page or group). If you use ELEMENT_COUNTER function inside the tag element the report will print out the sequence number of the data record in the report (or page or group). See the “Editing Tag Element” section for more details. You can also use other report specific functions such as PAGE_NUMBER and NUMBER_OF_PAGES. The full list of such functions is provided in the “Report and Documents Functions” section.

  • Last modified: 2022/09/13 18:15