Attachment problem in richtextfield

my problem is i cannot attach attechment from one rich text filed to another rich text filed by using script if any body have code please help me its urgent

thanks in advance

Subject: Attachment problem in richtextfield

Hi…Try this…

Body is one Rich Text Field

Body 1 is the one in which you want to copy the attachment

rt is also a richtextfield

Dim rtnav As NotesRichTextNavigator

Set rtnav=body.CreateNavigator

Set embob1=rtnav.GetFirstElement(8) //// Gets the First /////////Attachment in the rich text field— “body”

Set rt=embob1.Parent

Call body1.AppendRTItem(rt)

This would actually put the attached file in another RT field.

There is no direct method to copy attachment from one richtext field to another.

This is working fine… If you face any problem then get back to me,…

If it works fine for you then just leave a thank you note :wink:

Subject: RE: Attachment problem in richtextfield

thanks rohit for your responce