ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / Print functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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.
Note: This function can only be used when processing reports created with the report editor.
Example
// Fin de l'impression 
IF MySelf..Source.NomClient = "MOULIN" THEN
	iCloseReport()
END
Syntax
iCloseReport()
Remarks
To avoid running the WLanguage code after iCloseReport, use the RETURN keyword, for example.
Example:
IF TraitementFini() = True THEN
	iCloseReport()
	RETURN
END
Info("Coucou")
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: 09/24/2024

Send a report | Local help