|
|
|
|
- Note
- Table control based on a data file
Table,Modify (External language) In french: Table,Modifie Modifies an element in a Table control. // 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 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|