How to make Contact Inspector display HomeAddress for Unsaved contact ?

H

Harold M Little

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?
 
S

Sue Mosher [MVP-Outlook]

On a custom form? Or when the Display method is called for a contact that isn't using a custom form?

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
H

Harold M Little

Thank you, Sue

On a custom form? Or when the Display method is called for a contact that
isn't using a custom form?

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
H

Harold M Little

The Display method is called for a contact that isn't using a custom form.

On a custom form? Or when the Display method is called for a contact that
isn't using a custom form?

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
S

Sue Mosher [MVP-Outlook]

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

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/article.aspx?id=54
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top