Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Joining tables from 2 databases
Message
From
08/02/2001 04:53:30
Peter Walburn
Omega Data Services Ltd
Aberdeen, United Kingdom
 
 
To
All
General information
Forum:
Visual Basic
Category:
Database DAO/RDO/ODBC/ADO
Title:
Joining tables from 2 databases
Miscellaneous
Thread ID:
00473827
Message ID:
00473827
Views:
50
Hello,

I have 2 databases (Access MDBs) and I need to do a select which joins a table from each database.

So I have l_rstTable1 and l_rstData2 as recordsets in my code. I need to create another recordset that is based on a join between both of the underlying tables of l_rstTable1 and l_rstTable2.

Is there an easy way to do this? I was thinking that I might need to copy one of the tables into the second database temporarily in order to do the select. Or can I make a link to one table?

The location of the databases can change and so creating the link needs to be done at run-time once the databases have been opened.

TIA

Pete
Next
Reply
Map
View

Click here to load this message in the networking platform