LOTUSSCRIPT/COM/OLE CLASSES
Sub Initialize Dim session As New NotesSession Dim db As NotesDatabase Dim view As NotesView Dim vec1 As NotesViewEntryCollection Dim vec2 As NotesViewEntryCollection Set db = session.CurrentDatabase Set view = db.GetView("All") Set vec1 = view.GetAllReadEntries() Messagebox vec1.Count,, "Original read documents" Set vec2 = vec1.Clone() Messagebox vec2.Count,, "Cloned documents" End Sub