Use this function to assign a filter to a field you specify.

FieldRef.SETFILTER(String [, Value],...)



Type: fieldref

The fieldref that refers to the field that you want to place a filter on.


Type: text or code

The filter expression. A valid expression consists of alphanumeric characters and one or more of the following operators: <, >, *, &, |, and =. You can use replacement fields (%1, %2, and so on) to insert values at run-time.


Type: any

Replacement values to insert in replacement fields in the filter expression. The data type of Value must match the type of Field.

Expand imageRemarks

Expand imageSee Also