PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Use conditions
  • Sort
  • Handling a binary memo
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
Modifies the values of attributes in a row found in a browsing or memory Looper control.
Note: We recommend that you use LooperModifyLine. Indeed, LooperModifyLine allows you to insert:
  • TAB characters into the attributes/controls.
  • all types of values into the attributes/controls.
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
// Modify a row in a Looper control
LooperModify(LOOP_Looper1, ProductName + TAB + ProductCode, Subscript)
// Modifies a value in the Looper control at position 12
LooperModify(LOOP_Looper1, LastName + TAB + FirstName + TAB + ...
PhoneNum + TAB + FaxNum, 12)
Syntax
LooperModify(<Looper control> , <Value> [, <Subscript>])
<Looper control>: Control name
Name of Looper control to use.
If this parameter is equal to an empty string (""), the modification will be performed in the current Looper control.
<Value>: Character string
List of modified values. This parameter must have the following format:
<Value 1> + TAB + ... + <Value N>

The different values must be specified in the order of attributes (description window of Looper control).
To specify no value for an attribute, use an empty string ("") or 0 (depending on the type of the attribute).
<Subscript>: Optional integer
Subscript of row to modify.
  • If this parameter is not specified, the modification will be performed on the current element.
  • If <Subscript> is greater than the number of rows, LooperModify is equivalent to LooperAdd.
Remarks

Use conditions

LooperModify 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 LooperModify can only be used in a memory Looper control.

Sort

If LooperModify modifies a sort attribute of the current Looper control, the sort on this attribute will be canceled.

Handling a binary memo

To modify a binary memo in a Looper control, use LooperModifyLine.
Component : wd240obj.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment