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

lrvtc.sendMessage

Sets the last field of a column to a value.

Example Data Update Functions

Syntax

lrvtc.sendMessage ( columnName, value );

Arguments

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

lrvtc.sendMessage 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

Returns zero on success or one of the Error Codes.

Parameterization

All string input arguments can be passed using standard parameterization.

Example

    var colsize, rc;
    ...
    colsize = lrvtc.columnSize("Order_ID");
    colsize++;
    rc = lrvtc.sendMessage("Order_ID", colsize);