replaces the data in a field.

Example Data Update Functions


lrvtc.updateMessage ( columnName, rowIndex , value );


name Comments
columnName The column to write to.
rowIndex The number of the row. The first row has index 1.
value The value to set the field to.

lrvtc.updateMessage writes the value to the field specified with the column name and row index, overwriting the contents of the field.

Return Values

Returns zero on success or one of the Error Codes.


All string input arguments can be passed using standard parameterization.


    var rc, row_number;
    // Write to the last row
    row_number = lrvtc.columnSize("C_ID");
    rc = lrvtc.updateMessage("C_info", row_number, "{p_cid}_info_updated");
    lr.logMessage("update_message rc="+ rc);