PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • In which code should I use ..PageByPagePrint?
  • Limit: Calculated control that is using the total number of report pages
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
PageByPagePrint (Property)
In french: ImpressionAChaquePage
..PageByPagePrint is used to:
  • Ask a report to be printed page by page. Each page of the report will be sent separately to the printer spooler. This option is used to reduce the size of the print spooler for example.
  • Find out the print mode of the report (page by page or all at once).
Note: To print a report page by page, you also have the ability to check "Print page by page" in the "Details" tab of the report description.Note: To print a report page by page, you also have the ability to check "Page-by-page print" in the "Details" tab of the report description.Note: To print a report page-by-page, you can also check "Send each page separately to the printer" in the "Options" tab of the report description window.
Versions 18 and later
iPhone/iPad This property is now available for reports in iPhone/iPad applications.
New in version 18
iPhone/iPad This property is now available for reports in iPhone/iPad applications.
iPhone/iPad This property is now available for reports in iPhone/iPad applications.
Versions 21 and later
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Example
// Print the report page by page
RPT_ReportName..PageByPagePrint = True
Syntax

Finding out the print mode of the report Hide the details

<Result> = <Report>..PageByPagePrint
<Result>: Boolean
  • True if the report is printed page by page,
  • False otherwise.
<Report>: Report name
Name of report to use.

Asking for a report to be printed page by page Hide the details

<Report>..PageByPagePrint = <Print mode>
<Report>: Report name
Name of report to use.
<Print mode>: Boolean
  • True if the report is printed page by page,
  • False if the report is entirely printed.
Remarks

In which code should I use ..PageByPagePrint?

..PageByPagePrint should be used in the opening code of the report. This property will be ignored in other events of the report.

Limit: Calculated control that is using the total number of report pages

The report should not be printed page by page if this report contains a "Number of pages" calculated control. Indeed, the report must be entirely run in order to calculate the number of pages. If a page-by-page print is nevertheless requested, the number of pages will be replaced by "...".
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment