How to programmatically access the content of a Keyword Custom-field added to a Contact Form

  • Thread starter Thread starter msnews.microsoft.com
  • Start date Start date
M

msnews.microsoft.com

Hi,

I added some custom fields to a Contact form and i can't obtain the content
of a keyword custom-field i added, one like the Categories field Outlook
already provides.

Every custom field is accessed using:

itm.Userproperties("Customfieldname") where itm is a collection of
contacts.

Everything works fine for the other custom-fields (text, number, etc) but i
get a Type Mismatch accessing my KEYWORD custom-field.
I tried things like:

itm.Userproperties("Customfieldname").Value
itm.Userproperties.Find("Customfieldname").Value

and the error still occurs.

On the other hand accessing the built-in CATEGORIES field works fine.

Please help!

Arnaldo
Portugal
 
Back
Top