OUTLOOK 2002 FORMS

J

JASON

I HAVE CREATED A CUSTOM TASK FORM, AND I AM USING A STANDARD FIELD CALLED
"CONTACTS". IT'S THE ONE YOU CAN SELECT LINKS TO A CONTACT. IT DISPLAYS THE
NAME OF THE CONTACT AND I WANT TO DISPLAY THE COMPANY NAME. IS THERE ANY WAY
OF CHANGING THIS FIELD TO DISPLAY THIS INFO.

THANKS,
JASON
 
S

Sue Mosher [MVP-Outlook]

No. And please turn off your Caps Lock key. It's hard to read the shouting.

The Contacts field always displays the Full Name field.
 
J

JASON

sorry about the caps, it is required for a program of mine. anyway do you
have any sugjestions on creating a field to inclued the company name in my
form?

thanks,
jason
 
S

Sue Mosher [MVP-Outlook]

You could put code in the Write event handler to check the Item.Links
collection, look up any linked contact, and put its CompanyName value into a
task property. For a VBA version of this technique, 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
 
Top