GetLastErrorMessage

GetLastErrorMessage()

Retrieves the last logged error message.
When a script gets an error from the Import() function, you can use GetLastErrorMessage() to get more information about the last error that occurred.

Important: The last error message will only be updated when an error is logged to the log file. Do not rely on GetLastErrorMessage() to tell if the last thing you did resulted in an error. It reports on the last error that was logged, not the success/failure of the last operation that was performed.

Availability
MoneyWorks v7.3 and later

Posted in Uncategorized | Comments Off on GetLastErrorMessage