Category Filter (Like Single Category) for Notes View

Mindwatering Incorporated

Author: Tripp W Black

Created: 06/18/2009 at 07:24 PM


Notes Developer Tips
Formulas, Views

How to Do View "Category" Filter (Notes 6.x or Higher)

Open a view and set the filter as long as you update the formula context:
@Command([OpenView]; "vwMyView");
@SetViewInfo([SetViewFilter]; "Category To Show"; "MyColumn"; 1)

To reset the filter so it won't filter another view, add to the QueryClose event:

@SetViewInfo([SetViewFilter]; ""; "MyColumn"; 1)

Make sure the view does not have the Collapse all when database is first opened setting enabled if you're setting the view info. If the category you're trying to show is completely collapsed, then Notes won't show anything as all the lines under that category are hidden.

previous page