Lotus Script Help needed

Hi, in a form I have Readers and Authors field both Multi Value. Now, I need to copy the values of both this fields into another field Admins, which too is multi value field. Kindly help with the script to achieve it. Thanks

Dim rReader As Variant

rReader = doc.GetItemValue(“Readers”)

Dim Admin As Variant

Admin = doc.GetItemValue(“Admin”)

Call Admin.AppendToTextList(rReader)

However, this is not giving the desired result

for

Subject: Lotus Script Help needed

Hi Agrima,

try the following:

Dim Admin As NotesItem

Set Admin = doc.getFirstItem(“Admin”)

Call Admin.AppendToTextList(doc.GetItemValue(“Readers”))

Call Admin.AppendToTextList(doc.GetItemValue(“Authors”))

Call doc.Save(True, False, False)

If you need further help, feel free to ask.

Best regards

Ercan