Property String psDriverID
Read Access: | Get psDriverID to StringVariable |
Write Access: | Set psDriverID to StringVariable/Value |
The identification of the CLI driver.
When creating an object of the cCLIHandler class you must set the psDriverID property.
This property can have one of these values:
Constant | Meaning |
---|---|
DATAFLEX | Embedded database |
DB2_DRV | DB2 Connectivity Kit |
DFBTRDRV | Pervasive.SQL Connectivity Kit |
MSSQLDRV | Microsoft SQL Connectivity Kit |
ODBC_DRV | ODBC Connectivity Kit |
Get Create U_cCLIHandler To hoCliHandler Set psDriverID Of hoCLIHandler To "ODBC_DRV"
In order for the class to work with the Connectivity Kit for SQL Server, the property should be set to "MSSQLDRV".
Get Create U_cCLIHandler To hoCliHandler Set psDriverID Of hoCLIHandler To "MSSQLDRV"
In order for the class to work with the Connectivity Kit for DB2, the property should be set to "DB2_DRV".
Get Create U_cCLIHandler To hoCliHandler Set psDriverID Of hoCLIHandler To "DB2_DRV"
If you use the cMSSQLHandler, cDB2Handler or cODBCHandler classes (subclasses of cCLIHandler) instead, this property is already set for you.