MelissaEvans
Programmer
I have an app that is very configurable. It talks to a table, but the user decides what table it uses. Not only that, but the user decides what ODBC DSN to use, and which database to use. Currently, I have a configuration tool where the user types in this informtaion, but that's very prone to error. I would rather give the user the options that are available. I would like to populate a combo box with the DSN's the user can choose from. Once one of those is picked, then I want to provide the user with a list of Database names that the DSN can get into. Once a Database is picked, I would like to give a list of the tables within the database. This way the user just picks from a list rather than type in the information.
How do I get a list of DSN's, DB's, and Tables?
How do I get a list of DSN's, DB's, and Tables?