RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDatabase.DriverName Property

Specifies the name of the BDE driver for the database.

Pascal
property DriverName: string;
C++
__property AnsiString DriverName;

Use DriverName to specify the name of the BDE driver to use for databases connections that do not specify an AliasName, but that do specify a DatabaseName. DriverName must be a valid BDE driver (for instance, STANDARD, ORACLE, SYBASE, or INTERBASE).

Note: If an application sets DriverName, it must also specify connection parameters in the Params property. Ordinarily the alias specified in the AliasName property supplies connection parameters, but when DriverName is set, the AliasName property is automatically cleared to avoid BDE driver name contention.
Attempting to set DriverName 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 DriverName.
 

AliasName 

Connected 

DatabaseName 

Params 

Identifying the Database

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!