RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDataSet.InternalCalcFields Property

Indicates whether the dataset includes internally calculated fields.

Pascal
property InternalCalcFields: Boolean;
C++
__property Boolean InternalCalcFields;

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.
 

 

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