- 13 Dec 2023
- 1 Minute to read
- DarkLight
QueryValueTable
- Updated on 13 Dec 2023
- 1 Minute to read
- DarkLight
General
The QueryValueTable function can be used to query values from a Value Tables. The function returns a List of all values contained in the queried value table.
Syntax
There are two versions of the QuerValueTable function. The first version only takes one parameter, which is the name of the value table to query; this function only works for value tables having aUser Matching Mode of None.
QueryValueTable(<value_table_name>)
The second version of the QueryValueTable function also takes the user match; this only works for value tables having a User Matching Mode other than None.
QueryValueTable(<value_table_name>, <user_match>)
Examples
The following example returns all values of the value table named Sales Rep Names:
QueryValueTable("Sales Rep Names")