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
  • Printing the page header and footer of the nested report:
  • Tip
  • Change of orientation
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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 the main report: it will apply to all the nested reports that will be printed from the main report.
  • before printing the nested report: it will only apply to the next nested report.
Example
// Impression de l'état "ETAT_Imb2" en conservant son haut et bas de page
iNestedHeaderFooter(True)
iPrintReport(ETAT_Imb2)
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 page header and footer of the nested report:

Case 1: nested report 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.

Change of orientation

If a nested state does not have the same orientation as the main state, this function has no effect: the top and bottom blocks will not be not shared.
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: 03/27/2025

Send a report | Local help