In Outlook, you cannot locate the Location property of a ContactItem object by using the Outlook object model (278069)



The information in this article applies to:

  • Microsoft Office Outlook 2003
  • Microsoft Outlook 2002
  • Microsoft Outlook 2000

This article was previously published under Q278069

SYMPTOMS

When you try to reference the Location property of a ContactItem object by using the Microsoft Outlook object model, you cannot locate it.

CAUSE

The Outlook object model does not support the Location property.

RESOLUTION

If you are using the OfficeLocation field on the contact form, the corresponding property in the Outlook object model is OfficeLocation.

If you use the Field Chooser to add the Location field to a custom contact form and you need to programmatically access the data in this field, implement a user-defined field instead of the standard Location field.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

In the Field Chooser, the Location field is available in the set of All Contact fields. The field can be added to a custom Outlook form. It functions correctly until you try to access it programmatically.

The Location field was incorrectly included in the Field Chooser as part of the original design of Outlook. To help ensure backwards compatibility, the Location field is still available in the Field Chooser.

Modification Type:MajorLast Reviewed:7/31/2006
Keywords:kbOutlookObj kbprb KB278069 kbAudDeveloper kbAudITPRO