PC Review


Reply
Thread Tools Rate Thread

Access All Contact Fields

 
 
=?Utf-8?B?UmhvbmRh?=
Guest
Posts: n/a
 
      14th Jul 2005
I am creating a Word 2002 application to integrate with Outlook 2003. Does
anyone know a way to programmatically loop through all the fields in the "All
Contact Fields" list?
 
Reply With Quote
 
 
 
 
Sue Mosher [MVP-Outlook]
Guest
Posts: n/a
 
      14th Jul 2005
Use the ItemProperties collection.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


"Rhonda" <(E-Mail Removed)> wrote in message news:37526731-8098-41D8-A606-(E-Mail Removed)...
>I am creating a Word 2002 application to integrate with Outlook 2003. Does
> anyone know a way to programmatically loop through all the fields in the "All
> Contact Fields" list?

 
Reply With Quote
 
=?Utf-8?B?UmhvbmRh?=
Guest
Posts: n/a
 
      14th Jul 2005
Thanks Sue,

But I am not sure what the collection name is. I am trying to create an
array which would contain all the field names found when you select "All
Contact Fields" from the field chooser or all fields available when creating
a contact.

Would it be something like

for each field in contact.field
array(x)=field.name
next field


"Sue Mosher [MVP-Outlook]" wrote:

> Use the ItemProperties collection.
>
> --
> Sue Mosher, Outlook MVP
> Author of
> Microsoft Outlook Programming - Jumpstart for
> Administrators, Power Users, and Developers
> http://www.outlookcode.com/jumpstart.aspx
>
>
> "Rhonda" <(E-Mail Removed)> wrote in message news:37526731-8098-41D8-A606-(E-Mail Removed)...
> >I am creating a Word 2002 application to integrate with Outlook 2003. Does
> > anyone know a way to programmatically loop through all the fields in the "All
> > Contact Fields" list?

>

 
Reply With Quote
 
Sue Mosher [MVP-Outlook]
Guest
Posts: n/a
 
      14th Jul 2005
ItemProperties *is* the collection name:

For Each field in contact.ItemProperties
array(x) = field.name
Next

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


"Rhonda" <(E-Mail Removed)> wrote in message news:C368DE16-586E-40F5-988F-(E-Mail Removed)...
> Thanks Sue,
>
> But I am not sure what the collection name is. I am trying to create an
> array which would contain all the field names found when you select "All
> Contact Fields" from the field chooser or all fields available when creating
> a contact.
>
> Would it be something like
>
> for each field in contact.field
> array(x)=field.name
> next field
>
>
> "Sue Mosher [MVP-Outlook]" wrote:
>
>> Use the ItemProperties collection.
>>
>> "Rhonda" <(E-Mail Removed)> wrote in message news:37526731-8098-41D8-A606-(E-Mail Removed)...
>> >I am creating a Word 2002 application to integrate with Outlook 2003. Does
>> > anyone know a way to programmatically loop through all the fields in the "All
>> > Contact Fields" list?

>>

 
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Business Contact Manager 2007 Access Rights and user fields =?Utf-8?B?VGhvbWFuamk=?= Microsoft Outlook BCM 1 28th Jun 2007 11:24 PM
How do I add fields to the contact management (access) database =?Utf-8?B?aGZt?= Microsoft Access 1 28th Feb 2006 09:24 PM
Create 5x8 contact card with fields to import from Access. =?Utf-8?B?Qmx1aWUyNDA3?= Microsoft Word Document Management 1 9th Jul 2005 06:36 AM
Merging Access Contact Info Fields into Outlook VBA jfriand@gmail.com Microsoft Outlook 1 25th Apr 2005 11:54 PM
How do I access user-defined fields in one-off'd contact items? Roman Spanner Microsoft Outlook Form Programming 2 24th Aug 2004 10:00 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:03 PM.