Hi There,
I am basically wondering how to append a value to a multi value field, with value or values already stored in it.
I have tried code like :
CallDoc.AppendItemValue(“NameList”,", " & doc.value(0))
But it doesn;t work. can anyone give me any pointers?
Thanks
F1H
Subject: Append Value - Help Please
AppendItemValue will create a new item no matter if you already have an item of the same name. You need to add a value to the existing item:
dim item as notesitem
set item = CallDoc.GetFirstItem(“NameList”)
call item.AppendToTextlist(doc.value(0))
/Peter
Subject: RE: Append Value - Help Please
Thanks for the response,
How would i now write the contents of that notesItem to a field in the document?
Thanks
F1H
Subject: RE: Append Value - Help Please
You wouldn’t. The item is the field on the document, and you have appended a value to the item. All you have to do now is save the document.
/Peter