OL97: Text That You Insert into Field Is MissingID: Q216213
|
When you enter a large number of characters into a field on an Outlook form, Outlook seems to save the information properly, but the next time you open the item, the field is blank.
Depending on where an item is stored Outlook can typically retrieve either 16 KB or 32 KB of data from either the total of all standard fields, or the total of all user-defined fields. However, it is possible the limit may be as small as 4 KB and this should be taken into account when designing your form solution. The amount of data that Outlook can retrieve may also be limited by your network configuration. This limit has to do with how much data a single Remote Procedure Call (RPC) can handle.
When designing an Outlook form solution, do not assume that a text field can store an infinite amount of text. You should test the upper limits of the fields since there is no definitive way to determine an exact limit in all situations.
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.
When an item is stored in a Microsoft Exchange Server mailbox, the number of characters is typically limited to 32 KB, whereas if the item is stored with a Personal Folders (.pst) file, the limit is typically 16 KB. For example, on an Exchange Server, the limit would be 32 KB characters for the sum of all user-defined fields. Also, the total data for the sum of all standard fields must not exceed 32 KB. Note that text stored using a double-byte character set (DBCS) used in various localized versions of Outlook will reduce the amount of text stored by one-half. Outlook does not generate a warning when the item is saved. It will appear to save without any problems. However, when the item is opened, the text is missing and not accessible using either the Outlook interface or the Outlook object model.
http://www.microsoft.com/support/supportnet/refguide/To create a sample contact form that you can use to test the limits in your environment, follow these steps:
Sub cmdCheckSizes_Click()
Set F1 = Item.UserProperties.Find("Field1")
Set F2 = Item.UserProperties.Find("Field2")
L1 = Len(F1)
L2 = Len(F2)
Total = L1 + L2
strMsg = "Custom fields: " & L1 & " + " & L2 & " = " & Total
strMsg = strMsg & Chr(13) & "Mileage field: " & Len(Item.Mileage)
MsgBox strMsg
End Sub
For more information about creating solutions with Microsoft Outlook 97,
please see the following article in the Microsoft Knowledge Base:
Q166368 OL97: How to Get Help Programming with Outlook
Q170783 OL97: Q&A: Questions About Customizing or Programming Outlook
Additional query words: OutSol OutSol97
Keywords : kbdta
Version : WINDOWS:97
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: March 9, 1999