ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / Properties associated with reports and controls
  • Number of records
  • Limit
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The NbPrintedRec property is used to determine the number of records already printed.
Remarque: The NbEnrImprimé property ignores repeated blocks down to the bottom of the page.
Example
// Si plus de 5 enregistrements ont été imprimés
IF ETAT_EtatClient.NbEnrImprimé > 5 THEN
	// L'impression de l'état "ETAT_EtatClient" est arrêtée
	iEndReport()
END
Syntax
<Result> = <Report used>.NbPrintedRec
<Result>: Integer
Number of records already printed.
<Report used>: Report name
Name of the report to be used.
Remarks

Number of records

  • The NbRecRead property returns the number of records selected by the source of the report (query, view, memory area or Table control).
  • The NbPrintedRec property returns the number of records selected both by the source of the report AND by the filter code (if any).
    In the case of a file report, the NbRecRead and NbPrintedRec return the same value: the number of records in the file AND selected by the filter code (if any).
  • The TotalNbRec property is used to determine and change the number of records to print. The number of records to print will be between 1 and NbPrintedRec.

Limit

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

Last update: 05/13/2025

Send a report | Local help