|
-
May 27th, 2000, 05:03 PM
#1
Thread Starter
Lively Member
In ADO, how do we make a SELECT statement that can receive fields from two tables from two different MS Access database ?
And, how come I can't use 'LEFT JOIN' clauses in SELECT statement ? I am using Access 2000. The way I query the database is like -
SET rst = NEW ADODC.recordset
rst.Open QueryStr,Conn,adKeyset,adLockReadOnly,adcmdText
-
May 28th, 2000, 03:32 AM
#2
Guru
first question: You could use ADO data shaping to join recordsets, or you could create a separate MDB file and link the two tables from the different databases.
I suppose you could also use jet sql to join the two tables as well.....
second question: what does your SQL look like?
-
May 28th, 2000, 10:15 PM
#3
Thread Starter
Lively Member
How to use ADO data shaping ?
As for the SQL -
SELECT * FROM Table1 LEFT JOIN Table2 WHERE 1=1
Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|