Use this method to clear the last error.
The LastError property stores the error code of the last error that occurred. It does not get cleared after that until ClearError is called.
ObjectCollection Class