Hi !.I insert a link to document from other DB (QueryOpen event).
And get error:
“You may not save a Document Link into this field unless the linked-to database is the current database”
[skip]
Set db = New NotesDatabase(“”, “DB.NSF”)
Set view = db.GetView(“View”)
Set doc = view.GetDocumentByKey(key, True)
Set rt = New NotesRichTextItem(Source.Document, “Field”)
Call rt.AppendDocLink(doc, “Link”)