Text field multi-value in Rich Text field

Hi,I must put a text multi-value field in a rich-text field.

I have tried to make therefore:

doc.richtextfield = doc.textvalue

…but it (doc.richtextfield) becomes of type text and not richtext.

I would want to avoid to make a loop (scan all elements of the text multi-value field) why it employs too much time.

Someone knows a faster method?

thanks

Massimo Mugnone

Subject: Text field multi-value in Rich Text field

Have you tried:

Dim sess as NotesSession

Dim doc as NotesDocument

Dim rtitem as NotesRichTextItem

Dim strValue as String

Set sess = New NotesSession

Set doc = sess.DocumentContext

set rtitem = New NotesRichTextItem(doc, “Body”)

strValue = cstr(sess.Evaluate(“@Implode(MultiValueField)”, doc))

Call rtitem.AppendText(strValue)

Call doc.Save(true, false)

(NOTE: You must declare the RichTextField as a NotesRichTextItem)

Subject: RE: Text field multi-value in Rich Text field

many many thanks for help, Patrick !!!