Copy Attachment from one field to another

Does anyone know of a way to copy the value of a RichTextField to another RichTextField on the same document. I was thinking about extracting it to a temp file and pulling it back in. But there’s got to be a more elequent method to accomplish this.

Subject: Copy Attachment from one field to another

Can’t you just use one of the NotesRichTextItem methods?

CopyItemToDocument (creates a whole new rt item with the content of another) or AppendRTItem (append one rt item to content of another).

Subject: Copy Attachment from one field to another

There are many examples of this in the R4/5 forum. Also look in the Designer help file for NotesEmbeddedObject class

HTH