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
Forces a report block to print. The WLanguage code associated with the printed block is run.
Remark: This function allows you to print any report block. However, this function is mainly used to print an iteration block.
Linux Caution: A specific configuration is required to use this function in Linux. For more details, see Printing in Linux.
Example
// Print the END_OF_DOCUMENT block
iPrintBlock(END_OF_DOCUMENT)
// Print an iteration block
iPrintBlock(ITERATION1)
Syntax
iPrintBlock(<Block name>)
<Block name>: Character string
Logical name of block to print.
Remarks
  • iPrintBlock cannot be used in the following events:
    • "Opening" the report.
    • "Before printing" of a page header block.
    • "Before printing" of a page footer block.
  • In most cases, we recommend that you use planes in the report as they are easier to use and to implement (rather than block substitution). For more details, see The planes.
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