Datasnap.DBClient.TAggregate.Value
Delphi
function Value: Variant;
C++
System::Variant __fastcall Value();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Datasnap.DBClient.pas Datasnap.DBClient.hpp |
Datasnap.DBClient | TAggregate |
Description
Returns the calculated value of the aggregate.
Call Value to obtain the evaluation of Expression over the group of records specified by GroupingLevel. If GroupingLevel is nonzero (that is, if the aggregate summarizes a subgroup of the records in the client dataset), Value summarizes the data for the group which contains the current record in the client dataset.
If the aggregate is not currently maintained, Value returns Null. An aggregate is not currently maintained when
The Active property is false.
The DataSet property is nil (Delphi) or NULL (C++).
The aggregate summarizes a subgroup and the IndexName property does not match the current index of the client dataset.