PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Printing the header and footer of nested report:
  • Tip
  • Changing the orientation
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
iNestedHeaderFooter (Function)
In french: iHautBasPageImbriqué
Prints (or not) the page headers and footers of nested report.
This function can be used:
  • in the opening code of main report: it will be taken into account by all the nested reports that will be printed from the main report.
  • before printing the nested report: it will be taken into account by the following nested report.
Versions 15 and later
WINDEVLinux 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 Printing in Linux for more details.
New in version 15
WINDEVLinux 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 Printing in Linux for more details.
WINDEVLinux 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 Printing in Linux for more details.
Versions 18 and later
iPhone/iPad This function is now available for iPhone/iPad applications.
New in version 18
iPhone/iPad This function is now available for iPhone/iPad applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
// Print the "RPT_Nest2" while report keeping its page header and footer
iNestedHeaderFooter(True)
iPrintReport(RPT_Nest2)
Syntax
iNestedHeaderFooter(<Header and footer of nested Report>)
<Header and footer of nested Report>: Boolean
  • False (default value) if the main report must be printed while sharing its page header and footer with the nested report. The page header and footer of the nested report will not be printed.
  • True if the page header and the page footer of the nested report must be printed.
Remarks

Printing the header and footer of nested report:

Case #1: the nested report is printed on a single page:
Case #2: The nested report is printed on several pages

Tip

When using iNestedHeaderFooter with the True parameter, we recommend that you use iPageEnd before iPrintReport. This allows you to print two reports, one after another, in the same preview window.

Changing the orientation

This function has no effect if a nested report and the main report do not have the same orientation: the page header and page footer blocks will not be shared.
Business / GUI classification : Neutral code
Component : wd240etat.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment