VB code to query two tables in different databases

U

UB

Is it possible to write a VB query that joins one table
in each of two databases on a common ID field in each
table.
 
S

Silly Goose

For each data table in the query, use the IN word in your
SQL query to specify the input filename.
 
J

John Nurick

Hi UB,

Do you mean a SQL query? You can use the IN clause as suggested
elsewhere - or if you're working in Access it's usually more convenient
to set up each of the tables as a linked table (File|Get External
Data|Link) and then write the query exactly as if they were ordinary
Access tables.
 

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

Top