PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook VBA Programming Linking or Synchronizing contacts in different OL Contacts folders

Reply

Linking or Synchronizing contacts in different OL Contacts folders

 
Thread Tools Rate Thread
Old 02-03-2005, 10:05 PM   #1
saturnin02
Guest
 
Posts: n/a
Default Linking or Synchronizing contacts in different OL Contacts folders


Win XP HE, SP1
OL 2002 SP3
Follw-Up to microsoft.public.outlook.contacts

Hi,
Is there a way to sycn or link contacts that appear in different Contacts
folders in OL 2002 (folders and sub-folders) so that when I edit one it will
automatically edit the same contact in the other folder or sub/folder?
Tx,
S


  Reply With Quote
Old 04-03-2005, 04:09 PM   #2
=?Utf-8?B?RXJpYyBMZWdhdWx0IFtNVlAgLSBPdXRsb29rXQ==
Guest
 
Posts: n/a
Default RE: Linking or Synchronizing contacts in different OL Contacts folders

If these Contacts are linked to each other by the Contacts button and field
at the bottom of the form, then yes you have a valid hook for updating the
related Contact when the parent is changed.

To do so, you'd need to use either:

1) A custom Contact form. Add code in the Item_Write event to detect a
change, and use the ContactItem.Links collection to obtain object references
to linked Contacts that you can instantiate and update with related changes.

2) Use a catch-all Contact wrapper class to do the same thing without a
custom form, by using VBA events and properties. My article here (Getting a
Handle on Your E-mails with VBA:
http://blogs.officezealot.com/legau...icles/2224.aspx) illustrates how
you can do this with MailItems, but the technique can be easily adapted for
any Outlook item.

--
Eric Legault - B.A, MCP, MCSD, Outlook MVP
--------------------------------------------------
{Private e-mails ignored}
Job: http://www.imaginets.com
Blog: http://blogs.officezealot.com/legault/

"saturnin02" wrote:

> Win XP HE, SP1
> OL 2002 SP3
> Follw-Up to microsoft.public.outlook.contacts
>
> Hi,
> Is there a way to sycn or link contacts that appear in different Contacts
> folders in OL 2002 (folders and sub-folders) so that when I edit one it will
> automatically edit the same contact in the other folder or sub/folder?
> Tx,
> S
>
>
>

  Reply With Quote
Old 04-03-2005, 05:31 PM   #3
saturnin02
Guest
 
Posts: n/a
Default Re: Linking or Synchronizing contacts in different OL Contacts folders

Eric,
Thanks for the advice.
I have looked at the links u provided but it looks a bit beyond my skill
level....
S
Eric Legault [MVP - Outlook] wrote:
> If these Contacts are linked to each other by the Contacts button and
> field at the bottom of the form, then yes you have a valid hook for
> updating the related Contact when the parent is changed.
>
> To do so, you'd need to use either:
>
> 1) A custom Contact form. Add code in the Item_Write event to detect a
> change, and use the ContactItem.Links collection to obtain object
> references to linked Contacts that you can instantiate and update with
> related changes.
>
> 2) Use a catch-all Contact wrapper class to do the same thing without a
> custom form, by using VBA events and properties. My article here
> (Getting a Handle on Your E-mails with VBA:
> http://blogs.officezealot.com/legau...icles/2224.aspx) illustrates how
> you can do this with MailItems, but the technique can be easily adapted
> for any Outlook item.
>
>
>> Win XP HE, SP1
>> OL 2002 SP3
>> Follw-Up to microsoft.public.outlook.contacts
>>
>> Hi,
>> Is there a way to sycn or link contacts that appear in different Contacts
>> folders in OL 2002 (folders and sub-folders) so that when I edit one it
>> will automatically edit the same contact in the other folder or
>> sub/folder?
>> Tx,
>> S



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off