PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Forces the report print to stop. The page footer and the "end of document" block are printed.
WEBDEV - Server code If the report is printed in a preview window, the preview window is not closed.
Note: This function can only be used in the reports created with the report editor.
Versions 15 and later
Linux This function is now available for WINDEV applications in Linux.
WEBDEV - Server codeLinux This function is now available for WEBDEV sites in Linux.
Linux Caution: A specific configuration is required to use this function in Linux. See Print in Linux for more details.
New in version 15
Linux This function is now available for WINDEV applications in Linux.
WEBDEV - Server codeLinux This function is now available for WEBDEV sites in Linux.
Linux Caution: A specific configuration is required to use this function in Linux. See Print in Linux for more details.
Linux This function is now available for WINDEV applications in Linux.
WEBDEV - Server codeLinux This function is now available for WEBDEV sites in Linux.
Linux Caution: A specific configuration is required to use this function in Linux. See Print in Linux for more details.
Example
// End of print if the text file is not found
GLOBAL
// Identifier of text file
gfnFileID is int = 0

LOCAL
sTextFile is string = fCurrentDir() + "\Reports\Product.txt"

// Open the text file
gfnFileID = fOpen(sTextFile, foRead)
IF gfnFileID = -1 THEN
Error(ErrorInfo())
iEndReport() // Stop printing the report
END
// End of print forced when printing a record
IF MySelf..Source.CustomerName = "SMITH" THEN
iEndReport()
END
Syntax
iEndReport()
Component : wd240etat.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment