TurboDB VCL Component Library TTdbDatabase.CloseCachedTables |
Previous Top Next |
Physically closes all data files which are currently not in use.
Delphi syntax:
procedure CloseCachedTables;
C++ syntax:
void __fastcall CloseCachedTables(void);
Description
Closing a dataset does not automatically close the corresponding data files. This speeds up access times if the data will be needed again.
Executing CloseCachedTables physically closes all data files associated with this database component which are currently unused.
This method can be needed if you try to execute file operations on data files eg. for backup/restore.