SQLCountErrors

Syntax

SQLCountErrors()

Remarks

Returns the number of rows of detailed error information available. Each available row can be retrieved by calling SQLErrorText$ and passing a row number from 1 through the value returned by SQLCountErrors (1 is the first available row). For information about the structure of error rows, see SQLErrorText$.

A return value of 0 (zero) indicates no error information is available. A return value greater than 0 (zero) indicates the number of rows of error information available. Note that SQLErrorCount does not return information on itself.