OL2000: PossibleValues Property Causes Form to Become One-off

ID: Q241214


The information in this article applies to:
  • Microsoft Outlook 2000


SYMPTOMS

You use the PossibleValues property to programmatically populate a ListBox or ComboBox control, and the form definition is subsequently stored with the item.


RESOLUTION

Use one of the following methods to work around the problem:

  • Use the AddItem or List method to programmatically populate a ListBox or ComboBox control. These methods do not dirty the form definition and result in a one-off form.


  • Programmatically reset the Message Class field of the item so that it will continue to use the published form and not the embedded form definition. Note that this approach will still result in items having a large size (in bytes).



STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.


MORE INFORMATION

For additional information about one-off forms and resetting the Message Class field to avoid one-off forms, please see the following article in the Microsoft Knowledge Base:

Q207896 OL2000: Working with Form Definitions and One-Off Forms
For additional information about populating ListBoxes and ComboBoxes and using the PossibleValues property and the AddItem method, please see the following article in the Microsoft Knowledge Base:
Q232341 OL2000: How to Populate a List Box or Combo Box
This problem did not occur in Outlook 97 or 98.


REFERENCES

For additional information about available resources and answers to commonly asked questions about Microsoft Outlook 2000 solutions, please see the following article in the Microsoft Knowledge Base:

Q146636 OL2000: Questions About Custom Forms and Outlook Solutions

Additional query words: OutSol OutSol2000 vbscript

Keywords :
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbbug


Last Reviewed: September 10, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.