I’m using the object model through VB and I’m trying to add records to a view. Basically what I’ve done so far is use the Notes View Entry object and the Notes Document object it contains and I’ve used the AppendItemValue method and then saved the document which goes through error free but I see nothing in the View. I’m not even sure if I’m barking up the right tree at all with this method.
Also I’m trying to add people to a Names field through the object model and I’ve tried feeding a colon delimited list to it, but this has not produced any results either.
I’m very much a Notes novice so any help would be greatly appreciated.
Subject: Need Help Accessing and Writing Data To Notes db From VB via COM
Notes via COM not an easy introduction.
From what I can see you have a few problems…
Are you actually calling a doc.save(true, true) at any point - common mistake apologies if this isn’t the problem.
when using multi values you have 2 choices, either the appendtotextlist method OR putting an array into a field, notes is smart enough to work this out and place each array value as it’s own member.
Colon delimiting generally only works in @formula.
PS: make sure in your design the field is set up to support multi values.
The COM support for domino is pretty good - infact I’ve found it to be better than that from MS (my personal opinion)
Subject: RE: Need Help Accessing and Writing Data To Notes db From VB via COM
Yes, I am calling the Save method of the Notes Document. I guess my main problem is I don’t know how to add entries in a view. I can create a document and then what from what I’ve seen in examples I thought you were supposed to call the Putinfolder method and specify the view or folder you wanted the new document to go into but I can’t get it to work for some reason. I’ve played with this for the past week trying every different configuration I can think of but I can’t seem to add a full row to a view.