PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • 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
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).
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 report to use.
Remarks

Number of records

  • The Property NbRecRead returns the number of records selected by the report source (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).
  • In the case of an report on file, the properties 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

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