You are here: Features > Action Events > Set form filter

Set Form Filter Action

Event Function: CVDataSetFormFilter

The Set Form Filter allows a filter to be set on the CaseView document to display a particular form from the CaseView Database.

Using the Events tab

Under

Enter

Example

Run Skip Condition

If desired, enter skip conditions for the event. When the "Run Skip Condition" is evaluated to be true, the action is not performed.

 

Filter

The filter to be used to show the desired form or forms from the CaseView Database.

form = 'Region1'

Syntax (if entering it in the Equation bar)

ACTION("CvDataSetFormFilter", expr1)

Where

expr1 = entry under Filter

How the example will appear in the Equation bar

ACTION("CvDataSetFormFilter","form = 'Region1'")

Example 1

Where Region1 is one of the forms defined in the CV database

ACTION("CvDataSetFormFilter","form = 'Region1'")

filters the forms available to display only Region1

Example 1

ACTION("CvDataSetFormFilter","form<>'Region1'")

filters the forms available to display all forms except Region1

Notes

  • The filter applied during this event remains applied until removed. When designing your document you may want create a second instance of the event supplying a blank string in the filter expression to clear any existing filters.

Related Topics