Data.DB.TDataSet.CalcBuffer

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 CalcBuffer: TRecBuf read FCalcBuffer;

C++

__property TRecBuf CalcBuffer = {read=FCalcBuffer, nodefault};

Description

Points to the record buffer used during an OnCalcFields event.

Datasets use CalcBuffer to retrieve and store values when in the dsCalcFields state. The values of lookup fields and calculated fields are set in CalcBuffer, based on data field values retrieved from this buffer.

Most applications do not need to explicitly reference CalcBuffer. It is used automatically when the dataset is in the dsCalcFields state.

See Also