Notes error: Entry not found in index
Posted on 2004-11-03
Hi, I have some code that walks through a view and modifies each document.
Set doc = view.GetFirstDocument
While Not(doc Is Nothing)
Set tempDoc = doc
Call doc.Save(False, True)
Set doc = view.GetNextDocument(tempDoc)
I'm using tempDoc because after I modify doc, GetNextDocument(doc) does not return the next document (is this expected?). The code above worked fine before, but for some reason it no longer works - I get the Notes error: Entry not found in index. I didn't make any other changes to the agent, so I don't know why this has stopped working now...
Any help would be much appreciated. Thanks!