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

NameComments
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

    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