2020.2

Table Of Contents
if (record.fields["Country"] == "CANADA") {
results.show();
} else {
results.hide();
}
Note
This object can't be used in Control Scripts, because they don't have a selector.
Tip
The easiest way to access the elements in a result set one by one, is by setting the scope
of the script to "Each matched element" and using the this object (see "this" on
page849).
Property
Field Type Description
length
Number Number of elements in this result set. Equivalent to calling size
().
Functions
The functions below can be called by the results object and by any other result set that is
returned by a query, see "query()" on page804.
Function Description
"add()" on
page853
Adds elements to a set of HTML elements.
"addClass()" on
page855
Adds the specified class to each element in a set of HTML
elements.Has no effect if the class is already present.
Page 809