Please can we have sess.createdocumentcollection or dim as new notesdocumentcollection

I know its been asked for before, but it would be really useful, I hate the workarounds

Thanks

Subject: Please can we have sess.createdocumentcollection or dim as new notesdocumentcollection

Are you trying to combine the dim and the assignment? I know this works:

Dim sentCol As NotesDocumentCollection

Set sentCol = sentencesVU.getAllDocumentsByKey(key,True)

You will need to use UnprocessedDocs or GetAllDocs… etc. to define what is in the collection.

Did I miss the question???

Subject: He wants an Empty document collection to add things into.

instead of Set emptydc = NotesView.GetAllDocumentsByKey(“Bad Key”)