Skip to main content
Table of Contents

TTMSFNCDataGridDatabaseAdapter.LoadAllData Method

Reads every cell of every record once, so all values are cached in the grid's own data.

API unit family: TMSFNCDataGridDatabaseAdapter Declaring type: TTMSFNCDataGridDatabaseAdapter Inherited from: TTMSFNCCustomDataGridDatabaseAdapter

Syntax

FMX.TMSFNCDataGridDatabaseAdapter.hppPascalC++
procedure LoadAllData;
void __fastcall LoadAllData();

Remarks

Temporarily enlarges the data link buffer to the full record count, stores each cell value in the grid, and restores the dataset position afterwards. LoadMode is not changed. Combine with KeepData set to True to keep the loaded values after the dataset is closed. Reads the whole dataset, so avoid it for very large datasets.