vtc_send_row1
Deprecated. Use lrvtc_send_row1. Sets the data in multiple columns.
C Language
VTCERR2 vtc_send_row1 ( PVCI2 pvci, char *columnNames, char *values, char *delimiter, unsigned char sendflag, unsigned short *outRc );
C# Language
bool vts_multi.send_row ( long pvci, string columnNames, string values, string delimiter, unsigned char sendflag);
Data Update Functions |
Arguments
Name | Comments |
---|---|
pvci | The server connection handle. |
columnNames | The list of the columns to write to. |
values | The list of values to write to the columns. |
delimiter | The character that separates the column names and values in the lists. If a string, rather than a single character, is passed in delimiter, the string as a whole is the delimiter. |
sendflag | For C, one of:
For C, one of:
In all cases, a new row is created if required. |
outRc | The status of the operation: 1 - Pass or 0 - Fail |
vtc_send_row1 sets the data in multiple columns.
Return Values
Returns zero on success or one of the Error Codes.
C# Language: Returns true on success.
Parameterization
All string input arguments can be passed using standard parameterization.Example
unsigned short status = 0; char Message[50]; int rc; rc = vtc_send_row1(pvci, "C_ID;C_info;C_credit", "{p_cid};{p_cid}_info;0", ";", VTSEND_SAME_ROW, &status); lr_log_message("send_row1 rc=%d\n", rc);
C# Language Example