RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAggregate.Create Constructor

Creates and initializes an instance of TAggregate.

Pascal
constructor Create(Aggregates: TAggregates; ADataSet: TCustomClientDataSet); overload; reintroduce;
C++
__fastcall TAggregate(TAggregates Aggregates, TCustomClientDataSet ADataSet);

Most applications do not call Create to create an aggregate object. Instead, they call the Add method of the TAggregates collection to which the aggregate should belong. 

The Aggregates or Collection parameter specifies the TAggregates collection to which the TAggregate instance should belong. 

The ADataSet parameter specifies the client dataset whose data the aggregate summarizes. 

 

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