PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Number of records
  • Limit
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
NbRecRead is used to find out the number of records read: selected both by the source of the report AND by the filter code (if it exists).
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
// If more than 100 records have been read
IF RPT_CustomerReport.NbRecRead > 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).
  • NbPrintedRec returns the number of records selected both by the report source AND by the filter code (if it exists).
  • The NbRecRead and NbPrintedRec properties return the same value for a report based on a file: the number of records in the file AND selected by the filter code (if any).
  • 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

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