PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Use conditions
  • Use with a browsing Looper control
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>.Delete (Function)
In french: <Zone répétée>.Supprime
Deletes a row from a browsing or memory Looper control. The Looper control is automatically refreshed.
Versions 16 and later
Linux This function is now available for WINDEV applications in Linux.
New in version 16
Linux This function is now available for WINDEV applications in Linux.
Linux This function is now available for WINDEV applications in Linux.
Versions 17 and later
WEBDEV - Browser code This function is now available in Browser code.
New in version 17
WEBDEV - Browser code This function is now available in Browser code.
WEBDEV - Browser code This function is now available in Browser code.
Example
// Delete row 1
LOOP_ProdLooper.Delete(1)
// Delete the current row
LOOP_ProdLooper.Delete()
Syntax
<Looper control>.Delete([<Subscript>])
<Looper control>: Control name
Name of Looper control to use.
<Subscript>: Optional integer
Subscript of row to delete.
  • If this parameter is not specified, the deletion will be performed in the current row.
  • <Looper>.Delete has no effect if <Subscript> is greater than the number of rows.
Remarks

Use conditions

<Looper>.Delete can be used on a browsing or memory Looper control.
WEBDEV - Browser code This function is not available for the 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.
PHP <Looper>.Delete can only be used in a memory Looper control.

Use with a browsing Looper control

If the Looper control is based on a data file:
  • the record is deleted from the data file.
  • the next row is selected (if the last row is deleted, the previous row will be selected). The record selected in the linked data file corresponds to the selected row.
Component : wd250obj.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment