Use the TADPhysDB2DriverLink component to link the IBM DB2 driver to an application and setup it.
Use the TADPhysDB2DriverLink component to link the IBM DB2 driver to an application. In general it is enough to only include uADPhysDB2 unit into your application uses clause.
The TADPhysDB2DriverLink component may be used to specify:
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.
ADPhysDB2DriverLink1.ODBCAdvanced := 'IGNOREWARNINGS=1'; ADPhysDB2DriverLink1.ODBCDriver := 'IBM DB2 ODBC DRIVER - DB2COPY1';
What do you think about this topic? Send feedback!