Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   How to create a field applicable to all contacts (http://www.outlookbanter.com/outlook-vba/59491-how-create-field-applicable-all.html)

vfclists October 21st 07 10:32 PM

How to create a field applicable to all contacts
 

In my experiments it Outlook I see that Outlook allows user-defined
fields, but I haven't seen a way to create a user defined field for
the whole contact database.

Is there a way to create one?

I need to synchronize Outlook contacts with another database, so that
new contacts entered in Outlook will be added to the other database
and the other way round. If I can create globally additional fields I
will be able to use one of the columns for synchronization checks, as
the Outlook StoreId can change if databases get copied or moved
around.

PS. Will the new fields appear as properties in the dispatch interfaces


Sue Mosher [MVP-Outlook] October 21st 07 11:33 PM

How to create a field applicable to all contacts
 
In a table view, bring up the Field Chooser and click New to add a new field. Programmatically, use the ContactItem.UserProperties.Add method on each item that needs the new field.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"vfclists" wrote in message oups.com...

In my experiments it Outlook I see that Outlook allows user-defined
fields, but I haven't seen a way to create a user defined field for
the whole contact database.

Is there a way to create one?

I need to synchronize Outlook contacts with another database, so that
new contacts entered in Outlook will be added to the other database
and the other way round. If I can create globally additional fields I
will be able to use one of the columns for synchronization checks, as
the Outlook StoreId can change if databases get copied or moved
around.

PS. Will the new fields appear as properties in the dispatch interfaces



All times are GMT +1. The time now is 03:58 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com