title: LotusScript: Moving multiple documents in a folder
body: <p>I have a button "Move Document", supposedly it should move selected document to another folder. I used <code>PutAllInFolder</code> but it only copies the document to "Move Document" folder. Is there another method that can totally move them to another folder or maybe a view? </p>
  
  <p>Here's my code:</p>
  
  <pre><code>  Sub Click(Source As Button)
     Dim session As New notessession
     Dim dbCur As notesdatabase
     Set dbCur = session.currentdatabase
  
     Dim collSelected As notesdocumentcollection
     Set collSelected = dbCur.UnprocessedDocuments
  
     Call collSelected.PutAllInFolder("Move Document")
     Dim uiw As New notesuiworkspace
     Call uiw.viewrefresh
    End Sub
  </code></pre>