PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Looper control 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
<Looper>.RecNum (Function)
In french: <Zone répétée>.NumEnr
Returns the number of the current record in a browsing Looper control.
Example
// Number of the current record in "LOOP_ProductLooper"
ResRecNum = LOOP_ProductLooper.RecNum()
Syntax
<Result> = <Looper control>.RecNum()
<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.
Remarks

Looper control based on a query

If the query was run with the constant hWithFilter (option checked in the query editor), <Looper>.RecNum returns the number of the current record in the query.
If the query was run without the constant hWithFilter, <Looper>.RecNum returns an undefined result.
Component : wd240obj.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment