PC Review


Reply
Thread Tools Rate Thread

How do I display Contact fields in a Task

 
 
=?Utf-8?B?RFN0cnViZQ==?=
Guest
Posts: n/a
 
      15th Mar 2005
How do I display Contact fields in a Task, specifically in Outlook 2003,
using a vb script to capture the properties of a Contact that is set for this
task?

For example, if I have a contact called CustomerA that includes fields like
CustomerNumber, and I have a task called "Bug discovered in product today"
with the contact set to CustomerA, and in the vb script code for this Task
form I want to display the CustomerNumber of CustomerA, how can I do that?

I've been searching the web for a few hours looking for an answer to this
question, and every place I've looked either doesn't address it or suggests
it simply isn't possible.

Is this possible?

Thanks
 
Reply With Quote
 
 
 
 
Sue Mosher [MVP-Outlook]
Guest
Posts: n/a
 
      15th Mar 2005
You have to write code to get the related contact from the TaskItem.Links
collection, get the desired property value, and set the corresponding
property value in the task. For a VBA example, see
http://www.outlookcode.com/codedetail.aspx?id=566

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


"DStrube" <(E-Mail Removed)> wrote in message
news:AEAE8127-33EB-4ED3-9699-(E-Mail Removed)...
> How do I display Contact fields in a Task, specifically in Outlook 2003,
> using a vb script to capture the properties of a Contact that is set for
> this
> task?
>
> For example, if I have a contact called CustomerA that includes fields
> like
> CustomerNumber, and I have a task called "Bug discovered in product today"
> with the contact set to CustomerA, and in the vb script code for this Task
> form I want to display the CustomerNumber of CustomerA, how can I do that?
>
> I've been searching the web for a few hours looking for an answer to this
> question, and every place I've looked either doesn't address it or
> suggests
> it simply isn't possible.
>
> Is this possible?
>
> Thanks



 
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
Contact fields don't show data on Task View. gambit Microsoft Outlook 1 27th Oct 2008 02:36 AM
Display of contact fields rbhbsgm@gmail.com Microsoft Outlook 1 21st Oct 2007 09:24 PM
How do you get business contact data to populate task fields =?Utf-8?B?VGVk?= Microsoft Outlook BCM 1 26th May 2006 01:43 AM
Custumizing Task View Utilizing Contact Fields =?Utf-8?B?V2lsbGk=?= Microsoft Outlook Discussion 1 28th Oct 2005 12:55 AM
how2: show contact name and phone fields in task list John Inserra Microsoft Outlook 2 8th Oct 2004 07:39 PM


Features
 

Advertising
 

Newsgroups
 


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