When executed, the SKIP function will skip the remainder of the processing in the current record cycle of the current trigger. Unlike BREAK, it does not terminate the DataItem processing completely. It can be used only in the OnAfterGetRecord trigger of a report or XMLport object. In reports, when the results of processing in the OnAfterGetRecord trigger are determined not to be useful for output, the SKIP function is used to terminate that single iteration of the trigger, without interfering with any subsequent processing.
The SKIP syntax can be either of the following:
CurrReport.SKIP; CurrXMLport.SKIP;