Missing RichTextParagraphStyle object

Hi

I have a problem with RichtextParagraphStyle, it works when I run the agent from the screen, but when i try to run it scheduled on the server I get the following message:

AMgr: Agent (‘XX’) error message: Missing RichTextParagraphStyle object

My code look like this:

Set rtpStyle = s.CreateRichTextParagraphStyle

For column = 1 To Cint(docsys.Antal_Felter(0))

Set rtpS(column) = s.CreateRichTextParagraphStyle

richStyle.bold = True

richStyle.NotesFont = rtitem.GetNotesFont(doc.V_Font(0),True)

richStyle.FontSize = doc.V_FontSize(0)

Call rtitem.AppendStyle(richStyle)

rtps(column).Alignment = 0

rtpS(column).RightMargin = RULER_ONE_CENTIMETER * 2

rtpS(column).FirstLineLeftMargin = 0

rtpS(column).LeftMargin = 0

Next

Call rtitem.AppendTable( 1, Cint(docsys.Antal_Felter(0)),rtps)

Can anyone please help

Tia Jan Seldrup

Subject: RE: Missing RichTextParagraphStyle object

I’m not sure whether this is your problem, but I’ve noticed that there’s a problem inserting a multiple-row table with styles. I’ve had to insert a one row table, then add rows to make it the size I wanted.

Possibly this bug has been corrected in whatever version of Notes client you are using, but not on the older version you are running on your server.

Subject: RE: Missing RichTextParagraphStyle object

Hello

I am using 6.5.1 on the PC, and 6.5 on the Domino Server (iSeries).

Subject: RE: Missing RichTextParagraphStyle object

I have the same problem, is a problem with Domino on iSeries - see the technote http://www-1.ibm.com/support/docview.wss?rs=463&context=SSKTMJ&q1=%2Bappendtable+%2Bmissing&uid=swg21155478&loc=en_US&cs=utf-8&cc=us&lang=all