OnDriverRegistered - cConnection

Called after a driver is registered

Type: Event

Parameters: String sDriver Integer iDriver Handle hoCLIHandler

ParameterDescription
sDriverDriver Name
iDriverDriver Index
hoCLIHandlerHandle of cCLIHandler object for this driver


Syntax
Procedure OnDriverRegistered String sDriver Integer iDriver Handle hoCLIHandler

Description

After a driver is registered, OnDriverRegistered is called.

This provides the developer a hook that can be used to set driver related API properties.

Procedure OnDriverRegistered String sDriverId Integer iDriver Handle hoCLIHandler
    // turn off cache if the driver is the DAW MSSQL Driver 
    If (sDriverId="MSSQLDRV") Begin
        Set_Attribute DF_DRIVER_USE_CACHE of iDriver to False
    End
End_Procedure