The response form already inherits the DocID of the parent -- but I'm a complete script neophyte and have no clue how to send the e-mail without including the doclink back to the parent instead of the child.
Could you kindly provide the code? I've tried posting elsewhere, but I just get answers such as "use appendrichtextitem." That doesn't help me because I don't know how to code in script. I would love the actual block of code. I am willing to beg and grovel! Thanks you.
Set ParentDoc = currentDB. GetDocumentByUNID ( currentdoc.pparentID(0) ) Set newMemo = New NotesDocument( db ) 'create memo Set rtitem = New NotesRichTextItem ( newDoc, "Body" ) ' create body ' use appendTest to add other body text Call rtitem.AppendDocLink( ParentDoc, "comment information", "Hot spot information")Take a look at this for more information on appendDocLink.
Do you have comments on this Ask the Expert question and response? Let us know.
This was first published in September 2004