CODBCBase.GetErrorInfomethod
Returns a verbose description of the last error(s).
Syntax
FUNCTION GetErrorInfo (BYVAL HandleType AS SQLSMALLINT, BYVAL Handle AS SQLHANDLE, BYVAL iErrorCode AS SQLRETURN = 0) AS DWSTRING
Parameters
| Name | Description | |
|---|---|---|
HandleType | The handle type: SQL_HANDLE_DBC (connection handle) SQL_HANDLE_STMT (statement handle) | |
Handle | The handle value. | |
iErrorCode | Optional. The error code returned by GetLastResult. |
Return value
The description of the error or errors.
Description
Returns a verbose description of the last error(s).
Reference
- Include file
CODBC.inc - Defined in AfxNova/COdbc.inc:128
- Documented in Databases/ODBC Classes/CODBC Class.md
- Topic: ODBC Classes