psDriverID - cCLIHandler

The driver identification

Type: Property

Access: Read/Write

Data Type: String

Parameters: None

Syntax
 Property String psDriverID

Read Access: Get psDriverID to StringVariable
Write Access: Set psDriverID to StringVariable/Value


Description

The identification of the CLI driver.

Setting the Driver

When creating an object of the cCLIHandler class you must set the psDriverID property.

This property can have one of these values:

ConstantMeaning
DATAFLEXEmbedded database
DB2_DRVDB2 Connectivity Kit
DFBTRDRVPervasive.SQL Connectivity Kit
MSSQLDRVMicrosoft SQL Connectivity Kit
ODBC_DRVODBC Connectivity Kit


In order for the cCLIHandler class to work with the ODBC Connectivity Kit the property should be set to "ODBC_DRV".

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.