Subject: RE: What 32K field limit are you referring to? There is no such limit to RT items.
Lily, I am using 6.5.1 and have noticed that the AppendRTItem indeed only appends the first 32K of the rich text has the documentation states. I am working with just text, no attachments or images. I have been banging my head on the desk for sometime now trying to work around this.
Here is a snippet of my code:
Set rtitem = currentDoc.GetFirstItem( “AdditionalComments” )
Set rtitem_1 = New NotesRichTextItem( currentDoc , “AdditionalComments_1” )
Set richStyle = session.CreateRichTextStyle
richStyle.FontSize = 8
richStyle.Bold = True
richStyle.NotesColor = COLOR_DARK_RED
Call rtitem_1.AppendStyle(richStyle)
Call rtitem_1.AppendText ("Overflow created on by " & dialogBoxDoc.CommentAuthor(0))
Call rtitem_1.AddNewLine(1)
richStyle.Bold = False
richStyle.NotesColor = COLOR_BLACK
Call rtitem_1.AppendStyle(richStyle)
Call rtitem_1.AppendText( prevText )
Call rtitem_1.AddNewLine(1)
Call rtitem_1.AppendRTItem( rtitem )
Call currentDoc.RemoveItem( “AdditionalComments” )
Set rtitem = New NotesRichTextItem( currentDoc , “AdditionalComments” )
Call rtitem.AppendRTItem( rtitem_1 )
Call currentDoc.RemoveItem( “AdditionalComments_1” )
Call currentDoc.Save(True,True)
Call currentDoc.ReplaceItemValue(“SaveOptions”, “0”)
Call uidoc.Close(True)
Call currentDoc.RemoveItem(“SaveOptions”)
Call workspace.editdocument(True, currentDoc)