TurboDB VCL/CLX Component Library
TTdbTable.FlushMode
TTdbTable   See also
Top 


Switches write buffering on and off.

property FlushMode: TTdbFlushMode;

Description
If FlushMode is set to tfmSecure, records are written to disk and the directory information is updated immediately. This mode minimizes the data loss in case of a current supply breakdown or a crash of the application. To optimize write performance of your application, set FlushMode to tfmFast and such enable write buffering. tfmDefault uses the FlushMode value of the database component.