OL2000: Published Form with Find Method Displays Macro Warning

ID: Q218343


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


SYMPTOMS

When you use the Find method in Visual Basic Scripting Edition (VBScript) to retrieve one of the standard Outlook properties from an item, one of the following symptoms occurs:

  • A macro warning message unexpectedly appears when you open the item.


  • The Message Class field of the item changes from a custom message class to the default message class for that type of item.


  • The size of the item unexpectedly increases.



CAUSE

Using the Find method to retrieve a standard Outlook field results in a one-off item.

For additional information about one-off items, please see the following article in the Microsoft Knowledge Base:

Q207896 OL2000: Working with Form Definitions and One-Off Forms


WORKAROUND

Instead of using the Find method to refer to a standard field, use the more common syntax:


Item.<StandardFieldName> 


STATUS

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


MORE INFORMATION

This problem does not occur when you use the Find method to retrieve user-defined fields.


REFERENCES

For additional information about available resources and answers to commonly asked questions about Microsoft Outlook 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

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


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