Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to import database from another file

Status
Not open for further replies.

SweetDot

Technical User
Jan 19, 2004
65
US
Hi,
I have a list box that lists the tables inside another access database. I can obtain the path of that access database file, but how do I use the path so that the list box will display the tables?? Is it possible?

thanks
 
You could link to the MSysObjects table in the other database then set the datasource of the listbox to this sql string:

SELECT MSysObjects.Name FROM MSysObjects WHERE MSysObjects.Type)=1));


HTH,
Eric

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top