TurboDB VCL/CLX Component Library
TTdbDataset.DatabaseName
TTdbDataSet
Top 


Specifies the name of the database associated with this dataset.

property DatabaseName: string;

Description
Use DatabaseName to specify the name of the database to associate with this dataset component. DatabaseName should match the name of a database component used in the application. You may also use a folder name like k:\turbodb\databases\db1 as the database name. In this case, all TurboDB tables in the folder are reachable via this DatabaseName. A third option is to set the file name of a single-file database as the database name.

Note: Attempting to set DatabaseName when a database already associated with this component is open raises an exception.