View Single Post
  #5  
Old June 11th 07, 03:20 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default How to make Contact Inspector display HomeAddress for Unsaved contact ?

That can't be done without a custom form. SelectedMailingAddress is not related to the display. It's related to the "This is the mailing address" check box.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/article.aspx?id=54

"Harold M Little" wrote in message ...
The Display method is called for a contact that isn't using a custom form.

"Sue Mosher [MVP-Outlook]" wrote in message
...
On a custom form? Or when the Display method is called for a contact that
isn't using a custom form?

"Harold M Little" wrote in message
...
The contact has Business Address and the "SelectedMailingAddress" set to
2.
If contact has Home Address the "SelectedMailingAddress" set to 1.
It is always Business or Home, No contact will have both.
I do not want to save the contact before it is displayed,
when the Display method is called and contact has Home Address info,
the Inspector appears set to the Business Address field, which is blank.
How to make the Inspector display the fields based on
"SelectedMailingAddress" thru code?




Ads