Careful with this, as you run the risk of running out of document handles, depending on how large your database is.
If you want to collect Documents based on a criteria, use a DocumentCollection (via Call notesDocumentCollection.AddDocument( document [, checkDups ] ) ), that's what it's for.
If you just wanted the GroupName, just get that right away :)
Careful with this, as you run the risk of running out of document handles, depending on how large your database is.
If you want to collect Documents based on a criteria, use a DocumentCollection (via Call notesDocumentCollection.AddDocument( document [, checkDups ] ) ), that's what it's for.
If you just wanted the GroupName, just get that right away :)