ConnectionDatabaseIdHandle - cConnection
Returns handle to the database for the passed in connection
Type: Function
Return Data Type: Handle
Parameters
| Parameter | Type | Description |
|---|---|---|
| Conn | tConnection | Connection info from ConnectionIdInfo |
Syntax
Function ConnectionDatabaseIdHandle tConnection Conn Returns Handle
Call Example
Get ConnectionDatabaseIdHandle Conn to HandleVariable
Description
If you wish to communicate with the database API interface, you need to use the iDriverIndex member and a database Id handle.
This handle can be obtained by calling ConnectionDatabaseIdHandle, passing the tConnection data returned by ConnectionIdInfo. You should not call his function without first calling ConnectionIdInfo.
Return Value
Returns database Id handle; 0 = the connection is not logged in.