Share this page

# lrvtc.updateRow1

Sets the values of specified fields in a row.

Data Update Functions

## Syntax

    lrvtc.updateRow1 ( columnNames, rowIndex ,  values,  delimiter );

## Arguments

name | Comments
--- | ---
columnNames | The list of the columns to write to.
rowIndex | The number of the row. The first row has index 1.
values | The list of values to write to the columns.
delimiter | The character that separates the column names and values in the lists. If a string, rather than a single character, is passed in delimiter, the string as a whole is the delimiter.

lrvtc.updateRow1 sets the values of the fields specified by columnNames in the row specified by rowIndex.

## 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 row, rc;
        ...
        for (row=1; row<=10; row++)
        {
            var FieldValues = "productname"+row+"_updated;productinfo"+row+"_updated");
            rc = lrvtc.updateRow1("P_name;P_info", row, FieldValues, ";");
            lr.logMessage("update_row1 rc="+ rc);
        }

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