Sample Code - ClearError Method
The ClearError method clears the last error code or last error string at the report level.
object.ClearError