I want to show the tables stored in a database so the user can select one from a list. I used to do this in Access VBA with a dblist filled with the command
, but now I need to make it with VB 6.0 and it just doesn't work. I made the connection to the database and used a command to make the SQL sentence. Alas, I can't recover the table names and the list dos not fill. Any Ideas?
To boldly code, where no programmer has compiled before!
Code:
SELECT Name FROM MSysObjects
To boldly code, where no programmer has compiled before!