I am trying to access documents in the trash folder via backend lotusscript with no success. Here is a brief example of what is not working:
Set trash=s.CurrentDatabase.GetView(“($Trash)”)
Set note=trash.GetFirstDocument
While Not note Is Nothing
size=size+note.Size
cnt=cnt+1
Set note=trash.GetNextDocument(note)
Wend
So, is there something basic I am missing? Why doesn’t this work?