Not able to concat the field values in richtext field

Hi to all, i have a doubt regarding rich text field.I jus want to display a list of document value in a rich text field but its keep on showing error… Can any one of you tell me d exact code which should not generate error and values should display in the field. The below code which am using still now but its showing error,

//Geting the value of the item from the view

city_name=doc.GetItemValue(“city”)(0)

//append the value in the rich text field

Call ritem.AppendText(city_name & Chr(10))

Set doc=view.GetNextDocument(doc)

Thanks in Advance,

Regards,

Arun.

Subject: Richtext

Hi

Instead of

Call ritem.AppendText(city_name & Chr(10))

try something like

call rtitem.appendText(city_name)

call rtitem.addnewline(1)