Bde.DBTables.TDBDataSet.DatabaseName

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: published
Source:
Bde.DBTables.pas
Bde.DBTables.hpp
Unit: Bde.DBTables
Parent: TDBDataSet

Delphi

property DatabaseName: string read FDatabaseName write SetDatabaseName;

C++

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

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