The QUIT function is the ultimate processing interrupt for report or XMLport objects. When QUIT is executed, processing immediately terminates, even for the OnPostObject triggers. No database changes are committed. QUIT is often used in reports to terminate processing when the report logic determines that no useful output will be generated by further processing.
The syntax of the QUIT function is as follows: