RenderToRTItem and Section Title

OK, what did I forget:

I’m building a customized newletter with sections. I have a Work Request, with various Product and with those product I have test to be done. So I’m looking to get a newletter like this:

	[doclink]	Test 1	Status1	Title1

	[doclink]	Test 2	Status1	TItle1



	[doclink]	Test 3	Status3	Title3



	[doclink]	Test 4	Status4	TItle4

	[doclink]	Test 5	Status5	TItle5

	[doclink]	Test 6	Status6	TItle6

Got it building things fine, yet I don’t seem to be getting the Section titles? This is how I have it setup:

I just put the “{}” as I almost convince myself the value wasn’t set. I used the @GetField instead of just ProdInfo as just another idea in my debugging.

ProdInfo is set as this is what I see in the newsletter (see below - Will be a formula)

I tried updating my lotus scrip to do a ComputedWithForm just incase, that made a difference. No luck. Anyone got an idea why the section titlle is not appearing???

Here is the segment of code:

Set tmpProdDoc = thisDB.CreateDocument

tmpProdDoc.Form = "newslRFProd"

Set prodBody = New NotesRichTextItem( tmpProdDoc, "ProdBody")

tmpProdDoc.ProdInfo = "Will be a formula (" + Cstr( ActionCount ) + ")"

Call tmpProdDoc.ComputeWithForm(False, False) ' Originally did not use.

If Not tmpActionDoc Is Nothing Then

	Call tmpActionDoc.RenderToRTItem( ProdBody )

	Call tmpProdDoc.Save( False, False, False)

	Set tmpActionDoc = Nothing

End If

Subject: RE: RenderToRTItem and Section Title

Rich text with a computed header is something that can be represented in rich text. When you copy that rich text to another document, it still has a formula in it, which is evaluated when you view the new document.

Subject: RE: RenderToRTItem and Section Title

Thanks, so rending it to Richtext isn’t a snap shot then, so if I was to set “ProdInfo” on the final document it should show in all the sections. Not what I wanted, but interesting.

Off to give that a try. Thanks.