|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:
@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.