Outlook Forms "feature" required

L

Lozzaw

Hiya,

I need some help with a rather obscure feature for use with Outlook forms!

I have designed a Contact form in Outlook to store details of contractors that we use. The first field in the form is to enter the contractors name. What I would like to happen is that when you go to add a new Contact and enter the Contact's name, the field remembers names that have been used with this form before, and shows a drop down of those names. In other words, replicate the To field on an e-mail form which remembers e-mail names and addresses that have been used before. I've tried looking at the To field, but cannot understand from it's Properties how it knows to look for names entered previously.

Any ideas!?

Thanks, Laurie
 
S

Sue Mosher [MVP-Outlook]

See http://www.outlookcode.com/codedetail.aspx?id=461 for a code sample that
shows how to manage a combo box with a local text file if you want each user
to maintain their own MRU (most recently used) list. The technique could be
adapted to store the information elsewhere for shared use -- in a database,
a separate Outlook folder, a hidden CDO message, etc.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



Lozzaw said:
Hiya,

I need some help with a rather obscure feature for use with Outlook forms!

I have designed a Contact form in Outlook to store details of contractors
that we use. The first field in the form is to enter the contractors name.
What I would like to happen is that when you go to add a new Contact and
enter the Contact's name, the field remembers names that have been used with
this form before, and shows a drop down of those names. In other words,
replicate the To field on an e-mail form which remembers e-mail names and
addresses that have been used before. I've tried looking at the To field,
but cannot understand from it's Properties how it knows to look for names
entered previously.
 

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