LOTUSSCRIPT/COM/OLE CLASSES
Sub Click(Source As Button) Dim session As New NotesSession Dim db As NotesDatabase Dim collection As NotesDocumentCollection
Set db = session.CurrentDatabase Set collection = db.FTSearch("Annual reports", 10) If collection.Count <> 2 Then Call collection.RemoveAll(False) End If End Sub
See Also