lrvtc.sendMessage

Sets the last field of a column to a value.

ExampleData Update Functions

Syntax

lrvtc.sendMessage ( columnName, value );

Arguments

nameComments
columnName The name of the column.
valueThe 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);