You create a document, and attempt to save it manually using the user interface (for example, the Notes menu File, Save) or programmatically using Functions or the LotusScript Save method (NotesUIDocument class or NotesDocument class) you see the following error message:
"Field is too large (32k) or View's column & selection formulas are too large"
Or, in a LotusScript agent the following error message corresponding to error code 4000 occurs:
"Notes error: Field is too large (32k) or View's column & selection formulas are too large"
Less frequently you may observe one of the following errors in the user interface:
"Only plain text can be used in this type of field"
"Document has invalid structure"
These errors occur when a particular Text field in the document or the document itself has reached the maximum amount of Summary data that it can hold.
Notes/Domino 6.x has the following limits regarding Summary fields: 32k per field, 64k per document.
If the limit is relative to a particular field, workarounds are as follows:
- If the field must be of the Type Summary (allowing it to display in views) then the only workaround is to remove some of the text or place some of the text into another field (it is unlikely that 32k worth of data would be displayed in a view).
- If the field does not need to be displayed in a view then change the Type of the field to Rich Text or Rich Text Lite.
If the limit is relative to the total document, workarounds are as follows:
- Change whatever fields that do not need to be displayed in a view to Rich Text or Rich Text Lite.
- If the fields must be displayed in a view then there is no alternative but to break the information up into two documents.
If the LotusScript ComputeWithForm method does not set the Summary flag as expected refer to the document, "ComputeWithForm Does Not Set Summary Flag for Text Fields Over 15k" (#1090219) for more information.
The initial releases of the Notes 6 Client Help incorrectly state that the per Text field Summary limit is 15k. This issue was reported to Lotus software Quality Engineering (SPR # MGAN5GZQTT) and was addressed the Notes Client releases 6.0.3 and 6.5. For the 6.0.x codestream the fix for the issue appeared first in the release notes, not the on-line help. The on-line help has been updated in subsequent 6.0.x releases.
from the Notes/Domino 6.0.3 and 6.5.x Release Notes:
Updated information on Notes limits
In the Notes Client 6 Help topic "Limits of Notes," the following information has been changed:
(Revised entry) Maximum size for text fields is 32KB (storage); 32KB displayed in a view's column
(New entry) Text (Summary) data per document is 64KB
from the Notes 6.5.1 Client On-line Help
Topic: "Limits of Notes" What is the maximum size of text fields? 32KB (storage); 32KB displayed in a view's column
What is the maximum amount of Text (Summary) data per document? 64KB