Share this page

# TC.vtcPopMultipleCells

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

Equivalent method in VuGen: lrvtc_retrieve_messages1

    TC.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

    (async ()=>{
        let datas = await TC.vtcPopMultipleCells("MyColumn1");
    })();

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: