Hi there,
using Access 2003.
I am use to using T-SQL (sql server). I am having problems joining 2 tables with 2 conditions in the join. in t-sql the following would work fine:
SELECT
x,y,z
FROM
table1 INNER JOIN table2
on (table1.memberid = table2.memberid AND table1.Date = table2.Date)
the query works without the 2nd condition in the on clause. i.e.
SELECT
x,y,z
FROM
table1 INNER JOIN table2
on (table1.memberid = table2.memberid)
BUT fails with it - or asks for parameter inputs.
Please help.
thanks in advance.
david
using Access 2003.
I am use to using T-SQL (sql server). I am having problems joining 2 tables with 2 conditions in the join. in t-sql the following would work fine:
SELECT
x,y,z
FROM
table1 INNER JOIN table2
on (table1.memberid = table2.memberid AND table1.Date = table2.Date)
the query works without the 2nd condition in the on clause. i.e.
SELECT
x,y,z
FROM
table1 INNER JOIN table2
on (table1.memberid = table2.memberid)
BUT fails with it - or asks for parameter inputs.
Please help.
thanks in advance.
david