TAggregates = class(TCollection)
class PASCALIMPLEMENTATION TAggregates : public System::Classes::TCollection
TAggregates is the type of the Aggregates property, which represents all the maintained aggregates for a client dataset. A single TAggregate object represents each maintained aggregate. Maintained aggregates summarize data over the records in the client dataset.
TAggregates can include a mix of active and inactive aggregate objects. Active aggregates are updated dynamically as the data in the client dataset is edited. Inactive aggregates define a formula for summarizing data and a group of records to summarize, but these formulas are not evaluated. Aggregates can be inactive because they are not currently needed, or because the index that defines the group of records they summarize is inactive.