combo or list box values from an external file

jatfill

Registered User.
Local time
Today, 16:32
Joined
Jun 4, 2001
Messages
150
I have a text file, similar to an .ini that I want to read only from an Access form... what I would like to do is populate a list or combo box with the section headings from this file, it looks something like this:
**************
[Management]
Manager One
Manager Two

[Support Staff]
Support One
Support Two

[Associates]
Associate One
Associate Two
****************

So the end result would be either a list or combo with:

Management
Support Staff
Associates

This isn't managed data & I have no need to import it, the file is literally that small, so I was really just wondering if something like this was at all possible. I've gotten as far as reading the entire file contents into a text box, but that's it so far.

Thanks!
 
If the file is really that small, and if it doesn't change often, why not just affix the info into the combo box without linking it?

Otherwise, you can link to a text file as long as the delimiters are recognizable (comma, tab, etc.)
 

Users who are viewing this thread

Back
Top Bottom