How to copy a paragraph from one richtext to another

Hello everyone:

I need to find and copy a paragraph from one richtext to another. I can navigate and find the paragraph I need to copy but I need to keep the font color and other styles within the paragraph is this possible? I have R6.5 but if this can be done in any other version I am sure I can upgrade. I try using the textparagraph but I get just plain text Please let me know of any ideas

Thanks

Mynor

Subject: how to copy a paragraph from one richtext to another

I have used the following code to pull graphics and buttons out of a RichText field. It does not change it at all, but I have never tried just pulling text.

Set v = db.GetView (“Button”)

Set gv = db.GetView("Button")

Set doc = v.GetFirstDocument

Set gDoc = gv.GetFirstDocument

Set rtGraphic = gDoc.GetFirstItem("Button")