ISolveInterface.LastError (method)

Get the error code and string from the last database error.
Syntax: SCODE = object.LastError ( errorCode, errorString )
Parameters:
errorCode As long* - The code associated with the error
errorString As BSTR* - The text of the error message
Description: browser.LastError gets the error code and string from the last database error. Always returns S_OK.


Example

Dim errorCode As Long
Dim errorString As String
i = browser.LastError(errorCode, errorString)
MsgBox "Error code = " + CStr(errorCode) + ", Error string =" + errorString