Stops printing the current report immediately. The WLanguage code after the call to the function is run. This function must be used in one of the report processes.
Remark: This function can only be used with processes of reports created in the report editor.
// End of print
IF MySelf..Source.CustomerName = "SMITH" THEN
iCloseReport()
END
Remarks
To avoid running the WLanguage code after
iCloseReport, use the
RETURN keyword, for example.
Example:
IF CompletedProcess() = True THEN
iCloseReport()
RETURN
END
Info("Hello")
Business / UI classification: Neutral code