RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDataSet.Buffers Property

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

Pascal
property Buffers [Index: Integer]: PChar;
C++
__property const char * 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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!