Microsoft KB Archive/196937

= OL98: ListBox Bound to Keywords Field Unexpectedly Changes =

Article ID: 196937

Article Last Modified on 8/9/1999

-

APPLIES TO


 * Microsoft Outlook 98 Standard Edition

-



This article was previously published under Q196937



SYMPTOMS
When using a custom form containing a ListBox control, Microsoft Outlook unexpectedly adds a new possible value to the control.



CAUSE
This behavior is due to the storage limitation of Keywords fields. If the control is bound to a field of type Keywords and you select a number of possible values in the control, the field may exceed its 255-character maximum length. This causes the last value to be truncated.

Because the custom Keywords field now contains a new value that is not one of the options in the control, Outlook adds this new value to the list of possible choices in the control.



MORE INFORMATION
If you bind a ListBox control to a Keywords field, check boxes appear next to each of the possible values in the control. When using the form, a user can select multiple values by clicking the check boxes in the control.



WORKAROUND
Use any of the following methods:


 * Shorten the length of the possible values in the control so that a user cannot select more than 255 total characters.
 * If possible, use more than one Keywords field to store the possible values.
 * Redesign the form to avoid the use of the Keywords fields. For example, use multiple check boxes on the form instead.

Additional query words: OutSol OutSol98

Keywords: kbprb KB196937

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.