Data.DB.TAggregateField.Active

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Active: Boolean read FActive write SetActive default False;

C++

__property bool Active = {read=FActive, write=SetActive, default=0};

Properties

Type Visibility Source Unit Parent
property published
Data.DB.pas
Data.DB.hpp
Data.DB TAggregateField

Description

Indicates whether the aggregate should be calculated.

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

If Active is true, the aggregate field's 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 that corresponds to the field is currently maintained, read its InUse property.

See Also