Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Forms / August 2004

Tip: Looking for answers? Try searching our database.

Custom Outlook Form

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Thaddeus - 09 Aug 2004 14:45 GMT
I am creating a custom outlook contact form and would
like to lookup and display multiple contacts from
existing contact cards.  However, when I try to use
the "contact" selection from the "field chooser" I can
only input one contact.  I will need to display and
choose about 20 different contacts and I am wondering how
to tell each "contact" selection to be individual.
Sue Mosher [MVP-Outlook] - 09 Aug 2004 15:08 GMT
The Contacts button/box on the first page of the contact form can hold up to
30 contact links.

Signature

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

> I am creating a custom outlook contact form and would
> like to lookup and display multiple contacts from
[quoted text clipped - 3 lines]
> choose about 20 different contacts and I am wondering how
> to tell each "contact" selection to be individual.
Thaddeus - 09 Aug 2004 15:10 GMT
Can I setup those links to display individually in their
own fields?  I am also a little unclear on the contacts
button/box you are referring to.  Is this in the standard
contact form, or is it in the field chooser or toolbox?
Sue Mosher [MVP-Outlook] - 09 Aug 2004 16:51 GMT
I'm referring to the Contacts button/box on the standard contact form and in
the Field Chooser. All linked contacts are stored in the ContactItem.Links
collection, which is what that control exposes. If you want some other
display, you'll have to build that functionality yourself.

Signature

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

> Can I setup those links to display individually in their
> own fields?  I am also a little unclear on the contacts
> button/box you are referring to.  Is this in the standard
> contact form, or is it in the field chooser or toolbox?
Thaddeus Mack - 09 Aug 2004 17:48 GMT
How would I build that functionality then?
Sue Mosher [MVP-Outlook] - 09 Aug 2004 18:20 GMT
That really depends on exactly what you want the user to see, how you want
their interaction with the form to take place, and what data you want to
store.

Signature

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

> How would I build that functionality then?
Thaddeus - 09 Aug 2004 18:27 GMT
If the form display the separate contact name or heading,
that would be sufficient as long as that heading was
linked to the actual contact card.  Here is what we are
doing.  I work for an architecture firm where we want to
display project information such as contacts specific to
the project.  We use the same consultants on various
jobs.  These consultants are divided into different
groups, such as engineers, contractors, product reps, and
village contacts.  Each of these groups has its own tab.  
In each tab, I want to display the selected contact from
our master address book.  On some projects, we use more
than one contact in each tab.  So I guess the way I would
like them displayed is the way they are done currently in
the contacts button/field where you click on the name and
the contact card is displayed.  But under each tab and in
each contact field, the primary, secondary and tertiary
contacts are individual to each field.  Is there a way to
pull that off?
Sue Mosher [MVP-Outlook] - 09 Aug 2004 19:04 GMT
The display that Outlook provides for linked contacts works exactly the way
you see it, no more, no less. You cannot repurpose it to work some other
way. You will need to design your own mechanisms to allow the user to select
contacts, to display the contacts in the contact form, and to open their
related contact records. If the contact names are unique and all in one
folder, then it wouldn't be too hard to display the Outlook address book,
allow the user to select a name, and store that name in a property on your
item; see http://www.outlookcode.com/d/code/selectnames.htm . Note that CDO
or Redemption is required.

You could then add more code behind the form to perform a
MAPIFolder.Items.Find lookup on the target folder to find a contact with a
particular name and then display it.

Signature

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

> If the form display the separate contact name or heading,
> that would be sufficient as long as that heading was
[quoted text clipped - 14 lines]
> contacts are individual to each field.  Is there a way to
> pull that off?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.