What to I have to do to have 2 Rtfs in the same document 1 edited and the other computed

I need to have 2 RTFs fields with the same content in the same document, one editable and the other computed.When I place the two fields one below the other, the second (the computed one), does not save content.

Please Help!

TIA

Subject: what to I have to do to have 2 Rtfs in the same document 1 edited and the other computed

If second RTF is computed field, how r u planning to add content into it & save it?

Please explain.

Subject: RE: what to I have to do to have 2 Rtfs in the same document 1 edited and the other computed

Sorry I did not want to write “save”, I want the second rtf has the content of the first one. People will edit in the first rtf field, but when document changes its status, they will see the second rtf field with the same content.

Thanks

Subject: what to I have to do to have 2 Rtfs in the same document 1 edited and the other computed

RT fields are different kind of animals and need special treatment. You just can’t have one editable field and one computed field having first as its value and expect it to work.

Here is a simple solution to overcome your problem.

Suppose you have two RT fields on your form namely myRichText and myRichText2. myRichText is editable and myRichText2 is computed. Have the following code in the exiting event of myRichText and vola, you have the solution.

Dim ws As New NotesUIWorkspace

Dim uidoc As NotesUIDocument

Set uidoc = ws.CurrentDocument

Call uidoc.FieldSetText("myRichText2", uidoc.FieldGetText("myRichText"))

Ahsan