Utility Functions and C Language Reference > Virtual Table Server Functions (VTS) for C, C#, and Java > Virtual Table Server (VTS) Functions for Multiple Connections > Alphabetical Listing > 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 ( int pvci,  int rowIndex);

Java Language

int Vtc.clear_row (  long pvci,  int rowIndex, OutIntParameter outRc);
Data Update Functions


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.

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


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

Java Language Example

Java Multi-Connection Example