Problem solve Get help with specific problems with your technologies, process and projects.

Switch forms to fill in a form & insert attachment, then switch back

Is it possible to switch forms in order to fill in a form and insert an attachment into a field, then switch back again (saving the document) without saving the document as the switched form name (ie: it disappears from the view as soon as it saves.

This is my feeble attempt to get round notes notorious RTF problem, where you can't insert an attachment into a dialogbox and then make it visible when the dialog box is closed. (you have to close the document and open it again in order to see the attachments.)

If there's a better way of dealing with attachments in RTF's please let me know??

There's currently no better way than to (1) save the document, (2) close the document, and (3) re-open the document. There is a new method of the NotesRichTextItem class in R6, called Update, that looks promising, but I've not used it for anything yet. The help file for R6 says that the only way to update the RTF on a Uidoc is still to open and close, but the help file is still beta, so it might not be correct, yet.

Dig Deeper on Domino Resources

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.




  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...