newdoc.Sendto = uidoc.FieldGetText ("TestField") newdoc.subject = uidoc.FieldGetText ("TestField2") Call rtitem.AppendText ("Special Notes/Instructions:") Call rtitem.AddnewLine(1) Call rtitem.AppendText("") 'Call rtitem.AppendText("TestField3") newdoc.AppendText = uidoc.FieldGetText ("TestField3") 'newdoc.instructions = doc.TestField3 Call newdoc.Send(False)
The problem is that you have not defined a rich text item to update. Add the following before your first call of the rtitem:
Set rtitem = New NotesRichTextItem ( newdoc, "Body" )
Do you have comments on this Ask the Expert question and response? Let us know.
Dig Deeper on Lotus Notes Domino Application Development
Related Q&A from Brian Mahoney
Find out what types of calculations can be computed for a column in a Lotus Notes view and the best way to go about it with this expert response.continue reading
Find out why you can't use Formula language to include a doclink to a specific Lotus Notes view or database and need to use LotusScript instead.continue reading
Discover the reasons behind a Notes/Domino admistrator having trouble with disabled options in the "customize this view" section of his Lotus Notes ...continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.