PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Number of records
  • Limit
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
..NbPrintedRec is used to find out the number of records already printed.
Note: ..NbPrintedRec ignores the blocks repeated until the page footer.
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
// If more than 5 records have been printed
IF RPT_CustomerReport..NbPrintedRec > 5 THEN
// The print of "RPT_CustomerReport" is stopped
iEndReport()
END
Syntax
<Result> = <Report Name>..NbPrintedRec
<Result>: Integer
Number of records already printed.
<Report Name>: Character string (with or without quotes)
Name of report to use.
Remarks

Number of records

  • ..NbRecRead returns the number of records selected by the source of the report (query, view, memory zone or Table control).
  • ..NbPrintedRec returns the number of records selected both by the source of the report AND by the filter code (if it exists).
    For a report based on file, ..NbRecRead and ..NbPrintedRec return the same value: the number of records found in the file AND selected by the filter code (if it exists).
  • ..TotalNbRec is used to find out and modify the number of records to print. The number of records to print will be included between 1 and ..NbPrintedRec.

Limit

..NbPrintedRec cannot be used on a report without data source.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment