AppendRTItem method

Hi I am using appendrtitem method to append the attachment from a rtf feild of document to rtf field in other document. but the attachment is not going to the field it is placed at the end of the document , can you suggest me what to do to fix it. I am using 6.5 version notes.

thanks

soma

Subject: If the file is showing at the end of the document …

…then there is no RTF in the document that is pointing to the $FILE item that contains the attached file.

Attachments have two components. A $FILE item in the document that contains the file, and a pointer to that item inside a RTF.

If you open a document that has a $FILE, but there is no pointer, then the attachment is shown at the bottom on the document.

You might want to use NotesPeek or some other low-level tool to compare the RTF pointers and the $FILE names to see what’s going wrong.