AnyDAC
ContentsIndexHome
PreviousUpNext
TADPhysODBCDriverLink Class

Use the TADPhysODBCDriverLink component to link the ODBC bridge driver to an application.

Group
Class Hierarchy
uADPhysODBC_TADPhysODBCDriverLinkuADPhysODBC_TADPhysODBCDriverLinkuADPhysODBC_TADPhysODBCDriverLink
File

uADPhysODBC

Links

Use the TADPhysODBCDriverLink component to link the ODBC bridge driver to an application. In general it is enough to only include uADPhysODBC unit into your application uses clause. 

The TADPhysODBCDriverLink component may be used to specify:

  • ODBCDriver - ODBC driver name;
  • ODBCAdvanced - ODBC driver connection parameter common for all connections;
  • VendorLib - ODBC driver manager. By default it is odbc32.dll and for most cases should remain unchanged.

All properties have default values appropriate for most case. To have an effect all property changes must be performed before first connection through this driver or use the Release method.

TADPhysODBCDriverLink = class(TADPhysODBCBaseDriverLink);
ADPhysODBCDriverLink1.DriverID := 'Informix';
ADPhysODBCDriverLink1.ODBCAdvanced := 'CLOC=en_US.CP1252;DLOC=en_US.819';
ADPhysODBCDriverLink1.ODBCDriver := 'IBM INFORMIX ODBC DRIVER';
What do you think about this topic? Send feedback!