Field data available to all folders

G

Guest

Using winxp & outlook 2003 I've created a customized contact & task forms.
I'm having difficulty getting some of the data to populate from the contact
form to the task form & the table view of the task form. Some of the fields
are user-defined fields & some are outlook (i.e. contact.accounts) the only
field I can get to populate in all folders is the fileas field. What am I
missing?
 
S

Sue Mosher [MVP-Outlook]

Any folder can show only the data stored in the items in that folder. A task does not contain information about contacts unless you make an effort to store such information in a custom field in the task. Also, a folder view can only show standard fields and those custom fields defined in the folder.
 
G

Guest

If I create a field for the items I need can I populate it automatically when
I select a certain field from another folder? I.e. I have 2 fields in my
form - 1 contains the customer # (currently using that) & the 2nd field would
be the name. I currently have a button that is used to look up the customer
& select it (the contacts button) but I would like a 2nd field that would
automatically populate based on the selection of the 1st field.
 
S

Sue Mosher [MVP-Outlook]

Yes, you can do that with code for the CustomPropertyChange event. Use the MAPIFolder.Items.Find method to perform the lookup.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top