How to select all document in a view and assign it to NotesDocumentCollection

Hey,

I’m trying to select all documents in a view programmatically and assign it to a NotesDocumentCollection so that I can loop throught it.

How can I achieve this?

Basically, what I wanted to do is to calculate the total quantity for each product within a range.

Thanks.

Subject: how to select all document in a view and assign it to NotesDocumentCollection

oh…sorry i’m still getting used to lotus…i didn’t realise i can do that…thanks…it works well…

Subject: how to select all document in a view and assign it to NotesDocumentCollection

Basically, if you want to select all documents in a view then why do you require omething else. Take a handle of view then get first document and then loop through all documents till the document is nothing.