JavaScript Functions > Virtual Table Server Functions for Single Connection (lrvtc) > Alphabetical Listing of Virtual Table Server Functions (Single Server) > lrvtc.clearRow


Clears the values from all fields in a row.

Example Data Update Functions


lrvtc.clearRow ( rowIndex );


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.


All string input arguments can be passed using standard parameterization.


    var rc;
    rc = lrvtc.clearRow(1);
    lr.logMessage("clear_row rc=" + rc);