Bde.DBTables.TDBDataSet.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 TDBDataSet

Description

Specifies the name of the database associated with this dataset.

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.

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

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

See Also


Code Examples