Append Text to the already created richtextfield

Hi all,

Sorry for this silly question but i can’t find method that can allow me to do what i want.

I can create any amount of form/document. Let say formA when save will request enduser whether he want another form.

Ok let say we are having, presently, 2 different forms formA and formB with some information and a formOverall that will consolidate all the info from formA and formB.

When the enduser clicked on “save” on formA, i already save the info i want by using the code:

Set richStyle = session.CreateRichTextStyle

Set rtitem = docFiling.CreateRichTextItem(“FillTextHere”)

richStyle.Bold =True

Call rtitem.AppendStyle(richStyle)

Call rtitem.AppendText(title)

Call rtitem.AddNewLine(2,True)

richStyle.Bold=False

Call rtitem.AppendStyle(richStyle)

Call rtitem.AppendText(body)

=========end code=============

Ok so now how do i call the same field in formOverall when i need to save formB information?

I apologize if the question sound stupid.

Best

Hengshi

Subject: Append Text to the already created richtextfield

Dim rtitem As VariantSet rtitem = FormBdoc.GetFirstItem( “FillTextHere” )

If rtitem.Type = RICHTEXT Then

add yr code here

End if

Hope this helps

Raj