TurboDB VCL Component Library

TTdbDatabase.PrivateDir

TTdbDatabase

Previous  Top  Next

Specifies the directory in which to store temporary table processing files generated by TurboDB for database components associated with this database.

Delphi syntax:

property PrivateDir: String;

C++ syntax:

__property AnsiString PrivateDir = {read=FPrivateDir, write=FPrivateDir};

Description

Use PrivateDir to set the directory in which to store temporary table processing files for all database connections, such as those generated by TurboDB to handle local SQL statements. Ordinarily this value is only set at runtime, so that a user's local hard disk is used to store temporary files. Local storage of these files improves performance. If no value is specified for PrivateDir, TurboDB automatically stores those files in the Windows temporary directory. If you set this property be sure not to share the private directory between different applications or users.

Note

For applications that run directly from a networked file server, the application should set PrivateDir to a user's local drive to improve performance and to prevent temporary files from being created on the server where they might conflict with temporary files created by other instances of the application.