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_send_message

lrvtc_send_message

Sets the last field of a column to a value.

C Language

VTCERR2 lrvtc_send_message ( char *columnName, char *value );

C# Language

void vts.send_message ( string columnName, string value );

Java Language

int Lrvtc.send_message ( string columnName, string value );
Data Update Functions

Arguments

Name Comments
columnName The name of the column.
value The string to write to the field.

lrvtc_send_message sets the last field of a column to a value. If there is no empty field in the column, a new row is created.

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 colsize, rc;
    char orderID[10];
    ...
    colsize = lrvtc_column_size("Order_ID");
    colsize++;
    sprintf(orderID, "%d", colsize);
    rc = lrvtc_send_message("Order_ID", orderID);
    

C# Language Example

.Net Single Connection Example

Java Language Example

Java Single Connection Example