Bde.DBTables.TDatabase.DatabaseName

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property DatabaseName: string read FDatabaseName write SetDatabaseName;

C++

__property System::UnicodeString DatabaseName = {read=FDatabaseName, write=SetDatabaseName};

Properties

Type Visibility Source Unit Parent
property published
Bde.DBTables.pas
Bde.DBTables.hpp
Bde.DBTables TDatabase

Description

Specifies the name of the database to associate with this database component.

Use DatabaseName to specify the name of the database to use with a database component. If DatabaseName is the same as an existing Borland Database Engine (BDE) alias, then the AliasName and DriverName properties need not be set. If DatabaseName does not match an existing BDE alias, then either the application must also supply a valid alias in the AliasName property in addition to the DatabaseName, or it must supply the DriverName and Params properties.

DatabaseName can be a fully qualified path name when connecting to a Paradox or dBASE database.

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

Tip: At design time double-click a TDatabase component to invoke the Database editor and set the DatabaseName.

See Also