ADOConnection.LastError


public property LastError

Prototype:

function LastError()

Description:

The last error(s) encountered by the connection related processed, as a string. If the string is empty, then no errors where encountered.

Notice that after calling this function, the error string is emptied, so calling the LastError without any operations (the second time) will show no errors.

Return value:

Returns the ODBC errors as a string, or an empty string if no errors were encountered.