Data.DB.TDataSet.InternalCalcFields

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: protected
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: TDataSet

Delphi

property InternalCalcFields: Boolean read FInternalCalcFields;

C++

__property bool InternalCalcFields = {read=FInternalCalcFields, nodefault};

Description

Indicates whether the dataset includes internally calculated fields.

Read InternalCalcFields to discover if the dataset includes fields whose values are provided by the data source but that are not a fields in the physical database table or query. Internally calculated fields are calculated by SQL servers or the Borland Database Engine in a live query view.

On TClientDataSet, internally calculated fields are stored with the rest of the data, allowing the developer to sort and filter on the calculated fields. However, internally calculated fields on client datasets are not updated when the data they depend on is updated.

Note: Do not confuse internally calculated fields with calculated fields, which are computed in an OnCalcFields event.

See Also