TurboDB VCL Component Library TTdbDatabase.Location TTdbDatabase See also |
Previous Top Next |
Specifies the location of the database.
Delphi syntax:
property Location: String;
C++ syntax:
__property TTdbFlushMode FlushMode = {read=FFlushMode, write=FFlushMode, nodefault};
Description
Set Location to define the TurboDB database to use. Location is either a database directory where database tables are searched by default (this is called a directory database) or the name of a TurboDB single-file database file (this is called a single-file database). Single-file databases have the extension tdbd.
Using a relative filename (preceding dot) is not allowed and will cause an exception.
Note
At design-time, double-click on the TTdbDatabase component to invoke the component editor and browse for a database location.