Resolving contact names

V

Vaughan

Hi, I hope there is an answer to this.

I use OL2003 and Exchange. I have created a form based on IPM.Post for
collecting and storing basic project information. I have text fields for
"Sales Contact", "Design Contact", "Customer Contact" etc. I would like to be
able to enter names into those fields from my Contacts list or from
Exchange's Global Address List (like when I am addressing emails). Later, I
want to add the contents of these fields to the Cc: field of messages
(updates, queries etc) created as Actions from the project data form.

As an experiment, I tried adding the "To" field from the field chooser and
rebinding the Recipient control to one of my custom fields, but that wasn't
an option: no fields were presented for me to select from.

Is there any way of achieving what I want to do here?

Many thanks for any help you can offer.

Vaughan
 
P

Paul Mac

HI Vaughn,

I'm not sure if I will be able to shed anymore light on this for you,
however, what I do know is that adding contacts from the GAL is not a simple
measure.

There may be two options, 1 you can connect to the GAL using CDO, but using
the entries as you are looking will promt the user for interaction (Forms
Security).

One workaround is to keep looking at what you are doing, but instead of
rebinding the control, you will need to access the Field Properties via code.
I'm not sure if this syntax is correct, by you may be able to do the following

Set olPost = Item
set olPostRecipients = Item.Recipients
Set olMessage = Outlook.NewMessage
set olMessage.Recipients = olPostRecipients

If you add the "CC:" box to your post form, then you will not need to worry
about moving the Recipeints from To > CC

HTH, Paul Mac.
 

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