antwort = Msgbox("Sollen wirklich alle markierten Dokumente gelöscht werden?", 292, "Frage")
If antwort <> 6 Then
continue = False
Exit Sub
End If
Dim dc As Notesdocumentcollection
Set dc = Source.Documents
Call dc.RemoveAll(True)
Du könntest noch ein dim ws as new NotesUIWorkSpace
ws.ViewRefresh
daranhängen.
antwort = Msgbox("Sollen wirklich alle markierten Dokumente gelöscht werden?", 292, "Frage")
If antwort <> 6 Then
continue = False
Exit Sub
End If
Dim dc As Notesdocumentcollection
Set dc = Source.Documents
dim doc as NotesDocument
dim doc_temp as NotesDocument
set doc = dc.getFirstDocument
while Not doc is Nothing
set doc_temp = dc.GetNextDocument(doc)
Call doc.Remove(True)
set doc = doc_temp
wend
ist aber langsamer als dc.RemoveAll(True)