Share this page

# lrvtc_clear_row

Clears the values from all fields in a row.

## C Language

    VTCERR2 lrvtc_clear_row ( int rowIndex );

## C# Language

    void vts.clear_row ( int rowIndex );

## Java Language

    int Lrvtc.clear_row ( int rowIndex );

Data Update Functions

## Arguments

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

If a cell has a value, lrvtc_clear_row 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 vtc_clear_row.

## Return Values

C Language: Returns zero on success or one of the Error Codes.

C# Language: No return value.

Java Language: Returns zero on success or one of the Error Codes.

## Parameterization

All string input arguments can be passed using standard parameterization.

## C Language Example

Copy code

     int rc;
        ...
        rc = lrvtc_clear_row(1);
        lr_log_message("clear_row rc=%d\n", rc);

## C# Language Example

.NET Single Connection Example

## Java Language Example

Java Single Connection Example

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: