Table,Modify (External language) In french: Table,Modifie Modifies an element in a table.
// 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 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")
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.
|
|
|