The information in this article applies to:
SYMPTOMSWhen attempting to set the value of a field (property) of a Collaboration Data Objects (CDO) object, the following error may occur:
CAUSEThe field probably does not yet exist in the underlying Messaging Application Programming Interface (MAPI) object. RESOLUTIONInstead of just setting the field value, proceed from the assumption that the field does not exist. Use the Add method of the Fields collection, which facilitates both adding the field and setting the value as follows:
The sample above demonstrates adding and setting the value for the
PR_EXPIRY_LIMIT (&H00150040) field. No error occurs if the property already
exists.
STATUSThis behavior is by design. MORE INFORMATIONSteps to Reproduce Behavior
REFERENCESFor additional information about Collaboration Data Objects versus Active Messaging, please see the following article in the Microsoft Knowledge Base: Q176916 INFO: Active Messaging and Collaboration Data Objects (CDO) Additional query words: ActMsg
Keywords : kberrmsg kbCDO110 kbCDO120 kbCDO121 kbGrpMsg |
Last Reviewed: November 5, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |