I “fixed” a problem that ended up creating another problem. The initial problem was a user was not allowed to edit a document where his name was in an Authors field. I’ve run into this before: Because the Authors field is set via LotusScript, you must set ‘IsAuthors’ to True. To that end, I added the following:
Dim AuthorItem As NotesItem
Set AuthorItem = notesDocument.GetFirstItem( “AcctMgr” ) (‘AcctMgr’ is an Authors field)
AuthorItem.IsAuthors = True
However, this has created a new problem:
In the same script, the user has selected a Contact doument and using the UIDoc.FieldSetText method, I populate 12 fields including the ‘AcctMgr’ field. When the code executes:
AuthorItem.IsAuthors = True
The other 11 fields become empty; the ‘AcctMgr’ field stays populated. I KNOW I’ve used the ‘IsAuthors’ before and have never had it react like this. What am I not seeing??
Thanks in advance.