domino from 提交,提示 field is too large(32k)

lotus Notes 异常错误 – field is too large(32k) or view’s column & selection formulas are too large

大部分原因是因为域值过大,超过或接近 32k。也有可能是其他原因,其他原因不清,

解决方法 :

使用 rtf 域 , rtf 域不会提示 32K 的问题。但rtf 也有限制,超过最大长度后 超出部分会被 截掉,

我处理 被截掉的方法 是在客户端 使用 js 对 超长部分 用 另一个预留的rtf 域 赋值(这只是一种治标不治本的方法)。

如需要替换rtf的 制表符,换行,空格 :

<strong>dim str as string</strong>
<strong> str = Replace( str ,Chr(9),"")</strong>
<strong> str = Replace( str ,Chr(10),"")</strong>
<strong> str = Replace( str ,Chr(13),"")</strong>

发表评论

您的电子邮箱地址不会被公开。