RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAggregateField.IndexName Property

Specifies the index that is used to define subgroups of records.

Pascal
property IndexName: String;
C++
__property AnsiString IndexName;

Set IndexName to specify an index that sorts the records of the client dataset into subgroups. Each subgroup is defined as a set of records that all have the same values on a set of fields. This defining set of fields is the first GroupingLevel fields of the index. 

IndexName is required for any aggregate that does not summarize all the records in the client dataset (GroupingLevel = 0). When the index associated with an aggregate is not the current index of the client dataset, its value is unavailable. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!