Microsoft KB Archive/258035

= OL2000: ContactItem Object Does Not Have a Location Property =

PSS ID Number: 258035

Article Last Modified on 9/29/2003

-

The information in this article applies to:


 * Microsoft Outlook 2000

-



This article was previously published under Q258035





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 Office Location 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.

