Share this page

# TCA.vtcSearchRow

Searches for a row containing specific values in specific columns.

Equivalent method in VuGen VTS: lrvtc_search_row

    TCA.vtcSearchRow(columns, values, delimiter, vtsName);

## Arguments

Name | Description
--- | ---
columns | (string) The names of the columns to search. Column names are separated by the specified delimiter.
values | (string) The values of the columns to search. Values are separated by the specified delimiter.
delimiter | (string) The character that separates the column names and values in the lists. If a string is passed in delimiter (rather than a single character), the string as a whole is the delimiter.
vtsName (Optional) | (string) The alias of the VTS server.

## Return value

Returns a promise that is fulfilled with an object, which contains values for the whole row, if the values exist. For example, `{col1:"a", col2:"b",col3:"c"}`.

Otherwise, it returns an empty string.

## Example

Copy code

    TCA.vtcSearchRow("col1,col2", "a,b", ",", "test");

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: