Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   Extracting Custom Fields (http://www.outlookbanter.com/outlook-vba/47215-extracting-custom-fields.html)

Matt Williamson April 30th 07 08:02 PM

Extracting Custom Fields
 
I need some help extracting custom fields from Outlook. I have a custom
contact form with over 500 custom fields. If I loop through the
..UserProperties collection, I get some, but not all of the values for those
fields. The value tab of the properties for one of them shows "Children" as
the Field, but it doesn't have an associated UserProperty. When I look at
the Itemdata using OutlookSpy, I can see where the data shows up, but I
can't figure out how to extract it. It shows up with a Property Tag of
PR_CHILDRENS_NAMES with a type of PT_MV_STRING8 which I think is a multiline
string, but there is only one line. The other values for Child 1, Child 2,
Child 3, etc do actually show up under the UserProperties. There is no
difference in how the fields are defined in the form that I can tell.

What is missing here?

TIA

Matt



Matt Williamson April 30th 07 08:55 PM

Extracting Custom Fields
 
I need some help extracting custom fields from Outlook. I have a custom
contact form with over 500 custom fields. If I loop through the
.UserProperties collection, I get some, but not all of the values for those
fields. The value tab of the properties for one of them shows "Children" as
the Field, but it doesn't have an associated UserProperty. When I look at
the Itemdata using OutlookSpy, I can see where the data shows up, but I
can't figure out how to extract it. It shows up with a Property Tag of
PR_CHILDRENS_NAMES with a type of PT_MV_STRING8 which I think is a
multiline string, but there is only one line. The other values for Child 1,
Child 2, Child 3, etc do actually show up under the UserProperties. There
is no difference in how the fields are defined in the form that I can tell.


Nevermind. I examined a standard form and see that "Children" is a built in
field. I was looking at custom fields only.




All times are GMT +1. The time now is 06:15 PM.

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