Help / WLanguage / WLanguage functions / Controls, pages and windows / Looper functions
  • Use conditions
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Stored procedures
Collapses a break that was expanded beforehand in a Looper control. The break elements are no longer visible in the Looper control.
nRow4Star is int
nRow4Star = LooperSearch(LOOP_HOTEL, ATT_NBSTARS, 4)
LooperCollapse(LOOP_HOTEL, nRow4Star)
LooperCollapse(<Looper control> [, <Row> [, <Break name>]])
<Looper control>: Control name
Name of the Looper control to be used.
If this parameter is an empty string (""), the current Looper control is used.
<Row>: Optional integer
Number of the row to collapse.
If this parameter is not specified, the current row is collapsed.
<Break name>: Optional character string
Name of break to collapse. This parameter must be specified in case of nested breaks. It allows the break that will be collapsed to be defined. The function collapses from the first break by default (even if there are several break levels).

Use conditions

LooperCollapse can be used on:
  • a Looper control based on a data file,
  • a Looper control populated programmatically.
WEBDEV - Browser code This function is not available for Linear Looper controls. This function is available for Looper controls in browser mode only.
WEBDEV - Server codePHP This function is available for Looper controls in Ajax mode, Looper controls in classic mode and Linear Looper controls.
Component: wd290obj.dll
Minimum version required
  • Version 17
This page is also available for…
Click [Add] to post a comment

Last update: 06/22/2023

Send a report | Local help