SQLErrorFlush

Syntax

SQLErrorFlush()

Remarks

Removes error information for the current error. Although you can use SQLErrorFlush to deliberately remove current error information, note that all error information is automatically removed whenever an ODBC high-level function completes successfully.

If the error information could not be flushed, the SQLErrorFlush function returns a negative error value.