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.
If the report is printed in the report viewer, the preview window is automatically closed.
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
To avoid running the WLanguage code after iCloseReport
, use the RETURN
keyword, for example.
IF CompletedProcess() = True THEN
Business / UI classification: Neutral code