Share this page

# vtc_clear_row

Deprecated. Use lrvtc_clear_row. Clears the values from all fields in a row.

## C Language

    VTCERR2 vtc_clear_row ( PVCI2 pvci,  int rowIndex, unsigned short *outRc );

## C# Language

    bool vts_multi.clear_row ( long pvci,  int rowIndex);

Data Update Functions

## Arguments

Name | Comments
--- | ---
pvci | The server connection handle.
rowIndex | The row number. The first row has an index of 1.
outRc | The return status. 1 - Pass or 0 - Fail

If a cell has a value, vtc_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: Returns true on success.

## Parameterization

All string input arguments can be passed using standard parameterization.

## C Language Example

    int      rc = 0;
    unsigned short status;
    PVCI2     pvci=0;

    rc = vtc_clear_row(pvci, 1, &status);

## C# Language Example

.Net Multiple Connection Example

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