RAD Studio VCL Reference
TDataSet.Buffers Property

Provides indexed access to the record buffers in the internal cache.

property Buffers [Index: Integer]: TRecordBuffer;
__property TRecordBuffer Buffers[int Index];

All TDataSet descendants except for unidirectional datasets maintain an internal cache of records from the underlying database table. For example, if the dataset is used to populate a data-aware grid, the cache includes a record for each row in the grid.  

For datasets that cache records, each entry in Buffers points to a record buffer in the internal cache. The BufferCount property specifies the total number of record buffers in the cache. 


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