Share this page

# lrvtc.updateMessage

replaces the data in a field.

Data Update Functions

## Syntax

    lrvtc.updateMessage ( columnName, rowIndex , value );

## Arguments

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.

## Parameterization

All string input arguments can be passed using standard parameterization.

## Example

        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);

Tips to improve your search results... VuGen Function Reference Version 26.1 Function Reference 26.1 All View Local Help Center View Online Help Center Version: