I have a button "Move Document", supposedly it should move selected document to another folder. I used PutAllInFolder
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?
Here's my 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