Report.TotalsCausedBy() Method

Version: Available or changed with runtime version 1.0 until version 1.0 where it was deprecated.

Determines which field caused a group total to be calculated. This determines which field changed contents and thereby concluded a group.

Syntax

FieldNo :=   Report.TotalsCausedBy()

Parameters

Report
 Type: Report
An instance of the Report data type.

Return Value

FieldNo
 Type: Integer
The number of the field that caused the group to end and a group total to be calculated.

Report Data Type
Get Started with AL
Developing Extensions