Category:
Database related
Statistical (aggregate)
Standard
Returns the current dataset row count (accumulating).
Syntax
dataset_row_count(
StepNo Integer,
GroupLevel Integer
): Integer
Parameters
StepNo specifies the export step, in which the function must be calculated. It is used in HTML export context only; in other cases this parameter is ignored.
GroupLevel is reserved for future use and currently must be 0.
Return value
Type: Integer. Actually, inside the dataset rows loop, it returns the current row number. In the end of the loop, it returns the number of all rows in the dataset.
Examples of using
dataset_row_count(1, 0)