QUIT Function (Report, XMLport)
Aborts the processing of a report or XMLport.
When you use the QUIT function, the report or XMLport is exited without committing any changes that were made to the database during the execution. The OnPostReport Trigger or OnPostXMLport Trigger trigger will not be called.
The following example shows how to use the QUIT function to abort an execution without committing any changes that were made during the processing.
// Do some database processing. CurrReport.QUIT;