RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAggregateField.GroupingLevel Property

Specifies the set of records summarized by this aggregate field.

Pascal
property GroupingLevel: Integer;
C++
__property int GroupingLevel;

Use GroupingLevel to indicate the groups of records over which the field's aggregate is calculated. When GroupingLevel is 0 (the default), the aggregate summarizes all the records in the client dataset. When GroupingLevel is greater than 0, the aggregate summarizes each group of records that has the same values on the first GroupingLevel fields of the index. 

GroupingLevel can be any value from 0 to the number of fields in the index specified by IndexName

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!