Hi,
I have a rather large MS Office Library database, which have been created with a readers field. Now I have to update all the documents so they also have a MainReders field. I have tried to make an agent with the following code:
Sub Initialize
Dim Item As NotesItem
Set Item=Source.Document.ReplaceItemValue"MainReaders", “”)
If Source.Document.Readers(0)<>“” ThenForall values In Source.Document.Readers
Call Item.AppendToTextList(Values)
End Forall
Call Item.AppendToTextList(“[Administrator]”)
Else
Call Item.AppendToTextList(“*”)
End If
End Sub
But it dosen’t work - what am I doing wrong ?
Thanks in advance.
Rene