ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Editors / Report editor / Report blocks
  • Overview
  • Creating the Page Header block
  • Printing the Page Header block
  • Printing the Page Header block before or after the Start of Document block
  • Visibility of the Page Header block
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
Overview
The Page header block is a report block created in the report editor. The Page header block is printed on each new page. This block is run after the Start of document block if it exists.
The Page header block contains the information that will be printed at the top of each page, the title or a preset control indicating the page number for example.
Creating the Page Header block
To create a Page Header block:
  1. Perform one of the following operations in the report editor:
    • on the "Creation" tab, in the "Structure" group, expand "Blocks".
    • select "Add a block" in the report popup menu (right click on the report being created).
    • click the "Add a block" button in the "Blocks" tab of the report description.
  2. Select the "Page header" type.
Printing the Page Header block

Printing the Page Header block before or after the Start of Document block

By default, the Page header block is printed after the Start of document block on the first page of the report. The report editor allows you to modify this default print order.
To print the Page Header block before the Start of Document block on the first page of the report:
  • Method 1:
    1. Open the description of the "Start of document" block ("Block description" in the popup menu).
    2. In the "General" tab, select "Print the "Start of document" block AFTER the "Page header" block on the first page".
  • Method 2:
    1. Open the report description (select "Report description" in the context menu).
    2. In the "Blocks" tab, in the "Start of document" section, check "AFTER the "Page header" block".

Visibility of the Page Header block

By default, the Page header block is visible on all the report pages. The report editor allows you to specify the report pages on which the Page header block must be displayed.
To specify the pages on which the Page Header block must be displayed:
  1. Open the "UI" tab in the block description window ("Block description" in the popup menu).
  2. Specify the visibility of the block:
    • Always visible: The block and its controls will be displayed on all the pages of the report.
    • Always invisible: The block and its controls will not be displayed in the report.
    • Visible on the first page only: The block and its controls will be displayed on the first page of the report.
    • Invisible on the first page only: The block and its controls will be displayed on all the pages of the report except for the first one.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 07/15/2022

Send a report | Local help