adoErrMessage
Previous Topic  Next Topic 

Synopsis:

       message=adoErrMessage(handle,ix)

Arguments:

       handle        - The recordset handle.

       ix                - The index into the Errors collection.


Description:   This function returns the text of an error in the Errors collection of the underlying connection object specified by handle.     The ix argument is the index number of the error (starting from 0) in the Errors collection to return.



Returns:   Returns the Error message upon success or a negative error code.   If ADOERR_COMERR is returned, then the underlying ADO error can be obtained by calling adoLastError()