Share this page

# lrvtc_retrieve_messages1

Pops the first fields from specified columns.

## C Language

    VTCERR2 lrvtc_retrieve_messages1 ( char *columnNames, char *delimiter );

## C# Language

    void vts.retrieve_messages ( string columnNames, string delimiter );

## Java Language

    int Lrvtc.retrieve_messages1 ( string columnNames, string delimiter );

Query Functions

## Arguments

Name | Comments
--- | ---
columnNames | The names of the columns to retrieve. The column names are separated by the delimiter.
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.

lrvtc_retrieve_messages1 retrieves the values from the fields in the top row of the specified columns. The values are stored in parameters, each with the same name as the column the data is from.

All fields in the columns below the first row move up one row. For example, after the call, the values that were in the second row in the columns are in the first row, the values that were in the third row are in the second row, and so on. The last field in each of the columns is cleared. Fields in columns not specified n the columnNames argument are not moved or changed.

## Return Values

C 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_retrieve_messages1("H_ID;H_question;H_status", ";");
        lr_log_message("retrieve_messages1 rc=%d\n", rc);
        lr_log_message("Retrieved H_ID is %s\n", lr_eval_string("{H_ID}"));
        lr_log_message("Retrieved H_question is %s\n", lr_eval_string("{H_question}"));
        lr_log_message("Retrieved H_status is %s\n", lr_eval_string("{H_status}"));

## Java Language Example

Java Single Connection Example

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: