PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • Creating the End of Document block
  • Printing the End of Document block
  • Printing the End of Document block before or after the Page Footer block
  • Printing the End of Document block before or after the Page Footer block
  • End of Document block stuck to Page Footer block
  • End of Document block stuck to Page Footer block
  • End of Document block instead of Page Footer block on the last page of the report
  • End of Document block instead of Page Footer block on the last page of the report
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
Overview
The End of document block is run once at the end of the report execution. In most cases, the End of document block contains the counters and/or the totals (generated when creating the document or added afterwards).
In the process associated with this type of block, you have the ability to display a window indicating the end of print.
Creating the End of Document block
To create an 'End of Document' block:
  1. Perform one of the following operations in the report editor:
    • select "Insert .. New block".on the "Creation" pane, in the "Structure" group, expand "Blocks".
    • select "Add a block" from the popup menu of the report (right mouse click on the report currently created).
    • click the "Add a block" button in the "Blocks" tab of the report description.
  2. Select the "End of document" type.
Note: See Describing the report blocks for more details.
Printing the End of Document block

Printing the End of Document block before or after the Page Footer block

By default, the End of document block is printed before the Page footer block on the last page of the report. The report editor allows you to modify this default print order. To print the End of Document block after the Page Footer block on the last report page:
  1. Display the "General" tab in the description window of the "End of document" block ("Block description" from the popup menu).
  2. Check "Print the "End of document" block AFTER the "Page footer" block on the last page".
To print the End of Document block after the Page Footer block on the last report page:
  • Method 1:
    1. Display the "General" tab in the description window of the "End of document" block ("Block description" from the popup menu).
    2. Check "Print the "End of document" block AFTER the "Page header" block on the last page".
Versions 19 and later
  • Method 2:
    1. Display the "Blocks" tab in the description window of the report ("Report description" from the popup menu).
    2. In the "End of document" section, check "AFTER the "Page footer" block".
New in version 19
  • Method 2:
    1. Display the "Blocks" tab in the description window of the report ("Report description" from the popup menu).
    2. In the "End of document" section, check "AFTER the "Page footer" block".
  • Method 2:
    1. Display the "Blocks" tab in the description window of the report ("Report description" from the popup menu).
    2. In the "End of document" section, check "AFTER the "Page footer" block".

Printing the End of Document block before or after the Page Footer block

To print the End of Document block after the Page Footer block on the last report page:
  • Method 1:
    1. Display the "General" tab in the description window of the "End of document" block ("Block description" from the popup menu).
    2. Check "Print the "End of document" block AFTER the "Page footer" block on the last page".
  • Method 2:
    1. Display the "Blocks" tab in the description window of the report ("Report description" from the popup menu).
    2. In the "End of document" section, check "AFTER the "Page footer" block".

End of Document block stuck to Page Footer block

By default, the End of document block is stuck to the Body block or to the Body complement block if it exists. You can force the End of document block to be stuck to the Page footer block.
To stick the End of Document block to the Page Footer block:
  1. Display the "General" tab in the description window of the block ("Block description" from the popup menu).
  2. Check "The "End of document" block is stuck to the "Page footer" block on the last page". The End of document block will be printed just before or just after the Page footer block.
To stick the End of Document block to the Page Footer block:
  1. Display the "General" tab in the description window of the "Page footer" block ("Block description" from the popup menu).
  2. Check "The "End of document" block is stuck to the "Page footer" block".
    The End of document block will be printed just before or just after the Page footer block.
To stick the End of Document block to the Page Footer block:
  • Method 1:
    1. Display the "General" tab in the description window of the "Page footer" block ("Block description" from the popup menu).
    2. Check "The "End of document" block is stuck to the "Page footer" block".
      The End of document block will be printed just before or just after the Page footer block.
Versions 19 and later
  • Method 2:
    1. Display the "Blocks" tab in the description window of the report ("Report description" from the popup menu).
    2. In the "End of document" section, check "Stuck to the "Page footer" block".
      The End of document block will be printed just before or just after the Page footer block.
New in version 19
  • Method 2:
    1. Display the "Blocks" tab in the description window of the report ("Report description" from the popup menu).
    2. In the "End of document" section, check "Stuck to the "Page footer" block".
      The End of document block will be printed just before or just after the Page footer block.
  • Method 2:
    1. Display the "Blocks" tab in the description window of the report ("Report description" from the popup menu).
    2. In the "End of document" section, check "Stuck to the "Page footer" block".
      The End of document block will be printed just before or just after the Page footer block.

End of Document block stuck to Page Footer block

By default, the End of document block is stuck to the Body block or to the Body complement block if it exists. You can force the End of document block to be stuck to the Page footer block.
To stick the End of Document block to the Page Footer block:
  1. Display the "General" tab in the description window of the block ("Block description" from the popup menu).
  2. Check "The "End of document" block is stuck to the "Page footer" block on the last page". The End of document block will be printed just before or just after the Page footer block.
To stick the End of Document block to the Page Footer block:
  • Method 1:
    1. Display the "General" tab in the description window of the "Page footer" block ("Block description" from the popup menu).
    2. Check "The "End of document" block is stuck to the "Page footer" block".
      The End of document block will be printed just before or just after the Page footer block.
  • Method 2:
    1. Display the "Blocks" tab in the description window of the report ("Report description" from the popup menu).
    2. In the "End of document" section, check "Stuck to the "Page footer" block".
      The End of document block will be printed just before or just after the Page footer block.

End of Document block instead of Page Footer block on the last page of the report

By default, the Page footer block is printed on each page (including the last page of the report). The report editor allows you to replace the Page footer block by the End of document block on the last report page.
To replace the Page Footer block by the End of Document block on the last report page:
  1. Display the "General" tab in the description window of the "Page footer" block ("Block description" from the popup menu).
  2. Check "Print the "End of document" block INSTEAD OF the "Page footer" block on the last page". In this case:
    • the End of document block will replace the Page footer block on the last report page.
    • the option "The "End of document" block is stuck to the "Page footer" block" will be ignored on the last report page.
    • the option "The "Page footer" block is not printed at the end of the page, it is stuck to the previous blocks" will be taken into account for the End of document block on the last report page.
To replace the Page Footer block by the End of Document block on the last report page:
  • Method 1:
    1. Display the "General" tab in the description window of the "Page footer" block ("Block description" from the popup menu).
    2. Check "Print the "End of document" block INSTEAD OF the "Page footer" block on the last page".
Versions 19 and later
  • Method 2:
    1. Display the "Blocks" tab in the description window of the report ("Report description" from the popup menu).
    2. In the "End of document" section, check "INSTEAD OF the "Page footer" block".
New in version 19
  • Method 2:
    1. Display the "Blocks" tab in the description window of the report ("Report description" from the popup menu).
    2. In the "End of document" section, check "INSTEAD OF the "Page footer" block".
  • Method 2:
    1. Display the "Blocks" tab in the description window of the report ("Report description" from the popup menu).
    2. In the "End of document" section, check "INSTEAD OF the "Page footer" block".
In this case:
  • the End of document block will replace the Page footer block on the last report page.
  • the option "The "End of document" block is stuck to the "Page footer" block" will be ignored on the last report page.
  • the option "The "Page footer" block is not printed at the bottom of the page, it is stuck to the previous blocks" will be taken into account for the End of document block on the last page of the report.
Note: In this case, to avoid any overlay problem, the End of document block and the Page footer block must have the same height.

End of Document block instead of Page Footer block on the last page of the report

By default, the Page footer block is printed on each page (including the last page of the report). The report editor allows you to replace the Page footer block by the End of document block on the last report page.
To replace the Page Footer block by the End of Document block on the last report page:
  • Method 1:
    1. Display the "General" tab in the description window of the "Page footer" block ("Block description" from the popup menu).
    2. Check "Print the "End of document" block INSTEAD OF the "Page footer" block on the last page".
  • Method 2:
    1. Display the "Blocks" tab in the description window of the report ("Report description" from the popup menu).
    2. In the "End of document" section, check "INSTEAD OF the "Page footer" block".
In this case:
  • the End of document block will replace the Page footer block on the last page of the report.
  • the option "The "End of document" block is stuck to the "Page footer" block" will be ignored on the last page of the report.
  • the option "The "Page footer" block is not printed at the bottom of the page, it is stuck to the previous blocks" will be taken into account for the End of document block on the last page of the report.
Note: In this case, to avoid any overlay problem, the End of document block and the Page footer block must have the same height.
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment