Help Center

CODBC.GetErrorInfomethod

Returns a verbose description of the last error.

DatabasesmethodCODBCDbc.incdocumented

Syntax

FUNCTION GetErrorInfo (BYVAL iErrorCode AS SQLRETURN = 0) AS DWSTRING

Parameters

NameDescription
iErrorCodeOptional. The error code returned by GetLastResult.

Description

Returns a verbose description of the last error(s).

Reference

  • Include file CODBCDbc.inc
  • Defined in AfxNova/COdbcDbc.inc:135
  • Documented in Databases/ODBC Classes/CODBC Class.md
  • Topic: ODBC Classes