version 2004
DBGateway_ErrorCode (connID) Longint
| Parameter | Type | Description | |
| connID | Longint | Connection ID returned by DBGateway_Connect | |
| Function result | Longint | Error code (where 0 means no error) |
Description
The DBGateway_ErrorCode command returns the code of the last error that occurred in the connection session referenced by the connID parameter. If no error occurred, the command returns 0.
connID is a Longint returned by DBGateway_Connect.