Share this page

# lrvtc.clearRow

Clears the values from all fields in a row.

Data Update Functions

## Syntax

    lrvtc.clearRow ( rowIndex );

## Arguments

name | Comments
--- | ---
rowIndex | The row number. The first row has an index of 1.

If a cell has a value, lrvtc.clearRow sets the value to an empty string.

Cells with no value are not affected. querying such cells returns `NULL` before and after the call to lrvtc.clearRow.

## 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;
        ...
        rc = lrvtc.clearRow(1);
        lr.logMessage("clear_row 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: