How to get list of Tables in Current open database?

  • Thread starter Thread starter Yogesh
  • Start date Start date
Y

Yogesh

I want list of 'all tables' available in current database in to one list box
/ combo box.
 
Yogesh said:
I want list of 'all tables' available in current database in to one list
box
/ combo box.

Try setting the combo's RowSource like this:

SELECT MSysObjects.Name
FROM MSysObjects
WHERE (MSysObjects.Type In (1,4,6)) AND Not
((MSysObjects.Name Like "MSys*") Or (MSysObjects.Name Like "~*"))
ORDER BY MSysObjects.Type, MSysObjects.Name;
 

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

Back
Top