I have an agent(soon to be a placebot if i can get it working) that searches the index in a quickplace and then moves the documents into a folder called ‘Reports’. The agent is looking for the FT indexed words “Hub Summary”. Since these documents are mailed into quickplace there are several documents that are Responses to the original memo…RE: Hub Summary.WHen the agent tries to run it says that these reponse docs are causing a problem. I really don’t want them to be included. Here is my current code:
Sub Initialize
Dim session As New NotesSession
Dim db As NotesDatabase
Dim dc As NotesDocumentCollection
Dim doc As NotesDocument
Set db = session.CurrentDatabase
Set dc = db.FTSearch(“Hub Summary”,100)
Set doc = dc.GetFirstDocument
While Not(doc Is Nothing)
Call doc.PutInFolder(“Reports”,True)
Set doc = dc.GetNextDocument(doc)
Wend
End Sub
How do I just select the parents and not the child documents?