TurboDB VCL Component Library



Previous  Top  Next

Assigns a name to this database connection.

Delphi syntax:

property DatabaseName: String;

C++ syntax:

__property AnsiString DatabaseName = {read=FDatabaseName, write=SetDatabaseName};


Use DatabaseName to specify the name for the database. You may choose any name you want, but it must be unique for databases within the current application. The DatabaseName must match the DatabaseName of the TTdbDataSet components that use this database.

Note: Attempting to set DatabaseName when the Connected property is True raises an exception.