PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • 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
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
LooperDelete(LOOP_ProdLooper, 1)
// Delete the current row
LooperDelete(LOOP_ProdLooper)
Syntax
LooperDelete(<Looper control> [, <Subscript>])
<Looper control>: Control name
Name of Looper control to use.
If this parameter is equal to an empty string (""), the deletion will be performed in the current Looper control.
<Subscript>: Optional integer
Subscript of row to delete.
  • If this parameter is not specified, the deletion will be performed in the current row.
  • LooperDelete has no effect if <Subscript> is greater than the number of rows.
Remarks

Use conditions

LooperDelete 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 LooperDelete 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 : wd240obj.dll
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment