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 property NbRecRead property indicates the number of records read: selected by both the report source AND the filter code (if any).
Example
// If more than 100 records have been read
IF ETAT_EtatClient.NbEnrLu > 100 THEN
	// The print of "RPT_CustomerReport" is stopped
	iEndReport()
END
Syntax
<Result> = <Report used>.NbRecRead
<Result>: Integer
Number of records read.
<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 properties 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 included between 1 and NbPrintedRec.

Limit

The NbRecRead 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: 12/05/2024

Send a report | Local help