RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDataSet.CalcBuffer Property

Points to the record buffer used during an OnCalcFields event.

Pascal
property CalcBuffer: TRecordBuffer;
C++
__property TRecordBuffer CalcBuffer;

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. 

 

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