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 sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to access another database

Status
Not open for further replies.

dbadmin

Programmer
Jan 3, 2003
147
US
Hi Gurus,

Is there any way to access another MS Access database from the current access database using sql? or do I need to do VBA coding?

Thanks,
dbadmin
 
You can Link Tables, ie, go to File, Get External Data...Link Tables.
--Jim
 
You can also do it in conjunction with the use of the ADO ConnectionString property.

Cheers,
Bill
 
You can use SQL too,

[tt]SELECT ID FROM tblTable IN 'C:\Docs\Tek-Tips.mdb'[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top