ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Print functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
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.
WINDEV 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.
Example
// End of print
IF MySelf..Source.CustomerName = "SMITH" THEN
iCloseReport()
END
Syntax
iCloseReport()
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
Component: wd300etat.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help