Problems with RenderToRTItem and web

I am calling an agent on the server to print multiple documents. I build an array and then loop through to add documents. I first do Rendertortitem to a RichText field, then append that item to a second rt field. Works great on client but on web I only get the last document appended. My server log shows it moving through all the document id’s. Any help would be appreciated.CODE:

	Forall docs In array

		Set selectdoc = db.GetDocumentByUNID(docs )

		Set rtitem = New NotesRichTextItem ( newdoc, "body" ) ' to get the document as a picture

		Set rtitem1 = New NotesRichTextItem ( newdoc, "body1" ) ' to append to

		Call selectdoc.RenderToRTItem( rtitem )

		Call rtitem1.appendRTItem(rtitem)

		Msgbox Cstr(docs)

		Call rtitem.remove

		Call newdoc.Save(True,True)

	End Forall

Subject: Problems with RenderToRTItem and web-solved…

I knew I had to be doing something stupid…the set rtitem to new rt item was inside my loop…so it created it new each time.

Hope no one wasted time.