RAD Studio VCL Reference
TAggregate.Active Property

Indicates whether the aggregate should be calculated.

property Active: Boolean;
__property Boolean Active;

Use the Active property to indicate that the aggregate value should be maintained. If Active is false, the value of the aggregate is never calculated.  

If Active is true, the aggregate value is calculated unless: 

It summarizes records over a group not defined by the current index. 

The client dataset's AggregatesActive property is false.

Note: To determine whether the aggregate is currently maintained, read the InUse property.


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