Purpose With UpdateRow you can update a table row from a structured variable.
Example UpdateRow V[customerinfo] table=V[customers] index=2

All components of the structured variable V[customerinfo] with a matching column name in the table variable V[customers] are copied into row 2.

Format UpdateRow V[strname] table=V[tabname] index=k
  • If the index is less than 1 or greater than V[tabname.rowcount] no action is taken.

    With
    if Q[ok]
    you can query whether the index was between 1 and V[tabname.rowcount]
  • The structured variable and the table may have a different structure. Table columns without a matching counterpart in the structure remain unchanged.
Components GuiXT + InputAssistant