Sometimes you need a empty document collection, but there is no known example in the AdminHelp how to create such a collection. I saw people who use a empty view to build such a empty document collection. But  there is a easier way (I found it in the mail8.ntf)

Set yourDb = session.currentdatabase
Dim yourDocCollection as NotesDocumentCollection
Set yourDocCollection = yourDb.CreateDocumentCollection()

And voila ... a empty document collection.

[SnT means "Show and Tell"]

Leave your comments

Post comment as a guest

0

Comments

    • No comments found