PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • 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 the WINDEV applications in Linux.
WEBDEV - Server codeLinux This function is now available for the 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
WINDEVLinux This function is now available for the WINDEV applications in Linux.
WEBDEV - Server codeLinux This function is now available for the WEBDEV sites in Linux.
Linux Caution: A specific configuration is required to use this function in Linux. See Print in Linux for more details.
WINDEVLinux This function is now available for the WINDEV applications in Linux.
WEBDEV - Server codeLinux This function is now available for the WEBDEV sites in Linux.
Linux Caution: A specific configuration is required to use this function in Linux. See Print in Linux for more details.
Versions 18 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
New in version 18
iPhone/iPad This function is now available for the iPhone/iPad applications.
iPhone/iPad This function is now available for the 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.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230etat.dll
Windows Mobile wp230etat.dll
Linux wd230etat.so
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment