ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Managing external languages / Object functions
  • Note
  • Table control based on a data file
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
Table,Modify (External language)
In french: Table,Modifie
Modifies an element in a Table control.
Example
// In C
CALLWD("Table,Modify,ProdTable,%s=%s",index,value);
// In Pascal
CALLWD('Table,Modify,ProdTable,'+index+'='+value);
// In VB
call CALLWD("Table,Modify,ProdTable,"+index+"="+value)
Syntax
Table,Modify(<Table control> [, <Index>] , <Value>)
<Table control>: Control name
Name of the Table control to be used.
<Index>: Character string (optional)
Index of the element in the Table control. If the index is not specified, it is the current element.
  • For a Table control populated programmatically, the index is relative to the entire Table control.
  • For a Table control based on a data file, the index is relative to the elements displayed.
<Value>: Character string
New value.
Remarks

Note

If the Table control contains multiple columns, the columns must be separated by the numeric value of [TAB] (binary code 9).
Example in C:
CALLWD("Table,Modify,CustTab,14=SMITH\tJohn");
Example in Pascal:
CALLWD('Table,Modify,CustTab=SMITH'+#9+'John');
Example in VB:
call CALLWD("Table,Modify,CustTab,14=SMITH"+CHR$(9)+"John")

Table control based on a data file

In the case of a Table control based on a data file, the record is not modified in the data file, you need to call Table,Save.
To modify the data file associated with a Table control, don't use HModify; use Table,Modify and Table,Save instead.
Minimum version required
  • Version 14
Comments
Click [Add] to post a comment

Last update: 07/03/2023

Send a report | Local help