Documentation

Tablesearch function

This function is used to search data in the table. This function expects two parameters.
First parameter: alias name or variable name in which table data is stored.
Second parameter: table data which user wants to check whether this data is present inside the specified table or not.
The output of this function will be stored in a variable defined in the Element key section. If the data is found in the table it will return true else it will return false.

Select SET command from the action dropdown and provide a variable name in Element key, edit parameter section and click on Form, select functions from the dropdown and select TABLE_SEARCH function. Provide the values in the form.

After completing the step, it will look as below:

Example: ${__tablesearch(table_rows,Germany)} Here, table_rows is an alias (variable) in which table data is present. This table data can come from GETTABLE command, GETDBDATA command, loadexcelfile function or from pdftable function. Germany is the data to be searched in this table.

Was this page helpful?