title: How to restrict a lotus view to the content of some folders?
body: <p>I am trying to make a view which selects all unread mails which also belong to a specific list of folders and subfolders. </p>
  
  <p>I created a view by coying the existing "view unread" one, but despite my research in the documentation and in google I am at a loss as to how to restrict the content of the view to documents in a list of folders. 
  The list of folder can be hard coded, even better would be to only have to provide top folders name. </p>
  
  <p>folder structure is like this : 
  mailer-daemon
  alerts
   app1
    prod
    rec
    dev
   app2
    prod
    rec
    dev</p>
  
  <p>I want the view to restrict to app1/prod and app2/prod. this is in lotus notes 6.5.4 CCH6</p>
  
  <p>The unread formula looks like this (and works ok):</p>
  
  <pre><code>SELECT @IsNotMember("A"; ExcludeFromView) &amp; IsMailStationery != 1 &amp; Form != "Group" &amp; Form != "Person" 
  </code></pre>
  
  <p>how to restrict it ?</p>