I am using a Lotus Script agent to create new documents (multiple documents at a single stroke) in a lotus notes database
The document contains a “Rich Text” Field and its size exceeds more than 64Kb.
Issue:
The “Rich Text” field is not attaching values more than 64Kb.
Is there any fix for the issue?
Part of my code:
Set FullDoc= FullDatabase.CreateDocument
FullDoc.Form = “Full Text”
FullDoc.session = FieldSession$
FullDoc.cite = Cite$
BSize = Len(BodyFieldValue)
If BSize < 5120000 Then
Set rtitem = New NotesRichTextItem(FullDoc,“Body”)
Call rtitem.AppendText(“<>” & BodyFieldValue)
Else
FullDoc.Body = “”
End If
Call FullDoc.ComputeWithForm(True,False)
Call FullDoc.Save(True,False)
Subject: Programmatically “Rich text” field is not accepting values more than 64Kb using Lotus Script
Add paragraph breaks. Rich text can hold a great deal of data, but a paragraph can only hold 64k
Subject: RE: Programmatically “Rich text” field is not accepting values more than 64Kb using Lotus Script
Carl Tyler: can you please help me to add a paragraph break.
Subject: RE: Programmatically “Rich text” field is not accepting values more than 64Kb using Lotus Script
http://bit.ly/1rB8olM
Also look in Domino Designer help, it contains information on notes rich text classes and exampls.
Subject: RE: Programmatically “Rich text” field is not accepting values more than 64Kb using Lotus Script
I was able to attach the contents of the string to the field but whenever i copy the contents of the “Rich Text Field” i am getting “Memory allocation request exceeded 65,000 bytes” error message.
Please help me out with a solution