I created the following simple LotusScript agent to test this. And in my testing, every time I ran the agent, the message box displayed the information from the selected documents in the order they appeared in the view? I have been unable to reproduce this problem.
' Last mods 020518. 103401 - email@example.com -www.libertastechnologies.com Dim nsCurrent As New NotesSession Dim ndbCurrent As NotesDatabase Dim ndcSelected As NotesDocumentCollection Dim ndocSelected As NotesDocument Set ndbCurrent=nsCurrent.CurrentDatabase Set ndcSelected=ndbCurrent.UnprocessedDocuments Set ndocSelected=ndcSelected.getFirstDocument Do While Not ndocSelected Is Nothing Msgbox ndocSelected.tLink(0) Set ndocSelected=ndcSelected.getNextDocument(ndocSelected) Loop
This was first published in May 2002