Assign/move attachments to a rich text field in a doc

I have a quick place database(main.nsf which I copied locally) containing docs with attachments. Form field of those docs contains “h_PageUI” but I dont have any trace of this form in the entire database. So couldn’t grab the field name that contains the attachment. Also these are no RT fields(Except “PageBody” which is empty). I am just creating Notes form which will contain those attachements in a RTF field.

Well I just want to assign those attachment of a doc in a RT field.

Subject: Assign/move attachments to a rich text field in a doc

try using EmbeddedObjects and getattachment method to retrieve the attached files.

notesEmbeddedObjectArray = notesDocument.EmbeddedObjects