RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSQLConnection.DriverName Property

Specifies the database driver associated with the SQL connection.

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

If you are not using named connections, set DriverName to the name of an installed dbExpress driver such as INTERBASE, MYSQL, INFORMIX, ORACLE, or DB2. Installed drivers are listed in the dbxdrivers.ini file, and their names can be retrieved using the GetDriverNames function. 

If you are using named connections, the DriverName property is automatically set when you set the ConnectionName property. 

When you set DriverName, TSQLConnection automatically sets the LibraryName and VendorLib properties to the names of the libraries (DLLs or shared objects) that implement the specified driver. 

 

LibraryName 

VendorLib 

ConnectionName 

GetDriverNames 

Setting Up TSQLConnection 

Configuring TSQL Connection 

Connecting to Databases with TDatabase

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