Share this page

# TCA.vtcPopMultipleCells

Pops the first fields from specified columns. Returned as a JavaScript object.

Equivalent method in VuGen VTS: lrvtc_retrieve_messages1

    TCA.vtcPopMultipleCells(colNames, vtsName);

## Arguments

Name | Description
--- | ---
colNames | (string) The names of the columns.
vtsName (Optional) | (string) The alias of the VTS server.

## Return value

A promise that is fulfilled with an object upon success, which contains the first field from the specified columns. The properties of the object are set to the column names.

If the column is empty or does not exist, the value is null. For example, `{col1:"larry",col2:""}`.

## Example

Copy code

    TCA.vtcPopMultipleCells("MyColumn","MyVts").then(function(result){
      TCA.done(result);
    }).catch(function (error) {
      TCA.doneWithError(error);
    });

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