Utility Functions and C Language Reference > Virtual Table Server Functions (VTS) for C, C#, and Java > Virtual Table Server (VTS) Functions for Single Connection > Alphabetical Listing > lrvtc_clear_message

lrvtc_clear_message

Clears the data in a field.

C Language

VTCERR2 lrvtc_clear_message ( char *columnName, int rowIndex );

C# Language

void vts.clear_message ( string columnName, int rowIndex );

Java Language

int Lrvtc.clear_message ( string columnName, int rowIndex );
Data Update Functions

Arguments

Name Comments
columnName The name of the column.
rowIndex The row number. The first row has an index of 1.

lrvtc_clear_message sets the value of the specified cell to an empty string.

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_message("O_ID", i);
    lr_log_message("clear_message rc=%d\n", rc);

C# Language Example

.Net Single Connection Example

Java Language Example

Java Single Connection Example