PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • In which WLanguage event is it possible to use the ..PageByPagePrint property?
  • 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).
Remark: 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.
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 used>..PageByPagePrint
<Result>: Boolean
  • True if the report is printed page by page,
  • False otherwise.
<Report used>: Report name
Name of report to use.

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

<Report used>..PageByPagePrint = <Print mode>
<Report used>: 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 WLanguage event is it possible to use the ..PageByPagePrint property?

It is recommended to use the ..PageByPagePrint property "Opening" event of the report. In other events associated with the report, this property will be ignored.

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