PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

  • Note
  • Browsing table
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
Table,Modify (External language)
In French: Table,Modifie
Modifies an element in a table.
Example
// In C
CALLWD("Table,Modify,ProdTable,%s=%s",subscript,value);
// In Pascal
CALLWD('Table,Modify,ProdTable,'+subscript+'='+value);
// In VB
call CALLWD("Table,Modify,ProdTable,"+subscript+"="+value)
Syntax
Table,Modify(<Table Name> [, <Subscript>] , <Value>)
<Table Name>: Character string
Name of the table to use.
<Subscript>: Character string (optional)
Subscript of the element in the table. If the subscript is not specified, it is the current element.
For a memory table, the subscript is relative to the entire table
For a browsing table, the subscript is relative to the elements viewed.
<Value>: Character string
New Value.
Remarks

Note

If the table contains several 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")

Browsing table

For a browsing table, the record is not modified in the data file, you must call Table,Save.
To modify the data file associated with a table, you must not use HModify; you must use Table, Modify and Table,Save.
Minimum required version
  • Version 14
Comments
Click [Add] to post a comment