clearErrorMessages()
Use the textReport.clearErrorMessages() function to clear any error messages from the message stack. For more information see pushErrorMessage().
Syntax
textReport.clearErrorMessages()
- textReport
- The name of a variable that is based on the TextReport external type.
Example
The following example clears the error messages for the report:
myReport TextReport = new TextReport();
...
myReport.clearErrorMessages();