AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones Looper
  • Looper control based on a query
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
LooperRecNum (Function)
In french: ZoneRépétéeNumEnr
Returns the number of the current record in a Looper control based on a data file.
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 the Looper control to be used.
If this parameter corresponds to an empty string (""), the Looper control used is the Looper control to which the current event belongs.
Remarks

Looper control 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.
Component: wd290obj.dll
Versión mínima requerida
  • Versión 9
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 22/06/2023

Señalar un error o enviar una sugerencia | Ayuda local