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 / September 2005

Tip: Looking for answers? Try searching our database.

Raading from a file to populate a drop-down

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Adam Pelled - 24 Sep 2005 07:40 GMT
I would like to read from a file to populate a drop-down list box.

It is for use in a form that files details of research notes from stock
brokers. I would like to be able to chose from a drop down list of stock
brokers (e.g. Merrill Lynch et al) but obviously that list will change over
time.

Currently it is just "hard-coded" in the form design, but I would like it to
be able to pull the data from a text file or something similar on a hard disk
for instance. Failin g which if it can be stored in a "post item" in a folder.

How can this be done?

TIA
Adam
Adam Pelled - 24 Sep 2005 07:59 GMT
To answer my own question. Found response to similar question from S Mosher.
If there is an easier answer please let me know.

Yes, but you'll need to write the code (usually ADO) to access the database.
See http://www.outlookcode.com/d/database.htm and
http://www.outlookcode.com/d/formcontrols.htm#listcombo for examples and
other resources.

Signature

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

> I would like to read from a file to populate a drop-down list box.
>
[quoted text clipped - 11 lines]
> TIA
> Adam
 
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.