回到臭氧窩

Date: 05/09/2007 10:27:36 AM
Name: james
Email:
Subject: Re: 高手快幫我:文件在儲存時,出現大於32k
Categories: 一般問題
Website:
返回討論版區
http://www-1.ibm.com/support/docview.wss?rs=899&uid=swg21087474

Problem
You create a document (manually or using an agent), 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"

Solution
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 and 7.x have the following limits regarding Summary fields: 32k per field, 64k per document.
Relative to memos: The limit for sending to individual names and locally expanded groups is 15k.

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.
- Relative to memos: Remove names from the recipient fields and send a second memo or create one or more public groups and address the memo to the group(s) instead.

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.

Supporting Information:

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 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
What is the maximum number of recipients in a single mail message? For individual names and private groups which expand locally, 15KB; for public groups which expand on a server, 5MB
_____________________________________________


This error can also be observed in LotusScript agents which populate a Text field. This issue was reported to Quality Engineering as SPR# CSMH46YTN6; however it was found that Notes/Domino is working as designed. While the LotusScript Language has a text limit of 2 GB for string values, this does not take precedence over the Notes/Domino limits.



Related information
ComputeWithForm Does Not Set the Summary Flag for Text






Historical Number
197169

Product Alias/Synonym
Lotus Notes Client


主 題 發表人 發表日期
高手快幫我:文件在儲存時,出現大於32k 可憐蟲01/17/2006 10:52:55 AM
  Re: 高手快幫我:文件在儲存時,出現大於32k andy01/18/2006 08:17:53 AM
    Re: Re: 高手快幫我:文件在儲存時,出現大於32k 可憐蟲01/19/2006 02:29:45 PM
      Re: Re: Re: 高手快幫我:文件在儲存時,出現大於32k yamama01/23/2006 05:12:11 PM
        Re: Re: Re: Re: 高手快幫我:文件在儲存時,出現大於32k Anonymous02/03/2006 09:13:18 AM
      Re: Re: Re: 高手快幫我:文件在儲存時,出現大於32k notesap05/10/2007 04:21:37 PM
  Re: 高手快幫我:文件在儲存時,出現大於32k james05/09/2007 10:27:36 AM