DocumentCollection question

DocumentCollection question

Post by Jason Brun » Wed, 02 Sep 1998 04:00:00

Does anyone know of some way to merge two document collections?
Or is there some way I can add/remove a single document from a collection at
a time?



1. DocumentCollection.PutAllInFolder does not seem to work


I have got a database that contains Contact data.  I want to give the
user the option to add the contact to their personal address book.  All
works fine if I just add the contact, but I want to check that the
contact does not already exist.  I have got the following code

If (b.IsPrivateAddressBook) Then
   ' open the address book and find out path to address book
   Call b.Open("", "")
   filename = b.FileName
   filepath = b.FilePath
   servername = b.Server
   ' check to see if contact already exists
   Set view = b.GetView("($VIMPeopleByLastName)")
   Set dc = view.GetAllDocumentsByKey(LastName)
   Call dc.PutAllInFolder("FoundContacts")

The dc.PutAllInFolder method does not appear to be working.  The
dc.Count is greater than 1 so I know the documents are selected in the
collection, but the collection is not put into the folder.

Can anyone tell me where I'm going wrong.


2. vellum source/inkjet

3. Forall and documentcollection

4. ncdf write problem

5. FTSearh created DocumentCollection Doesn't appear in a view.

6. Excel Macros from MDL

7. DocumentCollection

8. Install Help on NT4.0 Please (-:

9. Sorting a DocumentCollection

10. Add documents selected in a view to DocumentCollection?

11. Printing Backend documents / Documentcollections

12. questions questions questions help

13. Newbie Question - Internet Mail Question