PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Looper based on a query
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
LooperRecNum (Function)
In French: ZoneRépétéeNumEnr
Returns the number of the current record in a browsing Looper control.
Versions 16 and later
WINDEVLinux This function is now available for the WINDEV applications in Linux.
New in version 16
WINDEVLinux This function is now available for the WINDEV applications in Linux.
WINDEVLinux This function is now available for the WINDEV applications in Linux.
Example
// Number of the current record in "LOOP_ProductLooper"
ResRecNum = LooperRecNum(LOOP_ProductLooper)
Syntax
<Result> = LooperRecNum(<Looper Control>)
<Result>: Integer
  • Current record number in the data file linked to the Looper control,
  • 0 if there is no current row or if the current row is not saved yet in the data file linked to the Looper control.
<Looper Control>: Control name
Name of Looper control to use.
If this parameter corresponds to an empty string (""), the Looper control to which the current process belongs will be used.
Remarks

Looper based on a query

If the query was run with the hWithFilter constant (option checked in the query editor), LooperRecNum returns the number of the current record in the query.
If the query was run without the hWithFilter constant, LooperRecNum returns an undefined result.
Components
WINDEVReports and Queries wd230obj.dll
WEBDEV - Server code wd230page.dll
Windows Mobile wp230obj.dll
Linux wd230obj.so
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment