D
Douglas J. Steele
You don't use AND in conjunction with JOIN. I would expect the query should
be something like:
mEnq = "SELECT * FROM Table 1 INNER JOIN (Table2 INNER JOIN Table3 ON
Table1.R_ID =
Table3.R_ID) ON Table1.R_ID = Table2.R_ID ORDER BY Table1.R_ID"
In general, you're best off building the query through Access's graphical
query builder, then looking at the SQL that's generated. (You can get to it
through the View menu)
be something like:
mEnq = "SELECT * FROM Table 1 INNER JOIN (Table2 INNER JOIN Table3 ON
Table1.R_ID =
Table3.R_ID) ON Table1.R_ID = Table2.R_ID ORDER BY Table1.R_ID"
In general, you're best off building the query through Access's graphical
query builder, then looking at the SQL that's generated. (You can get to it
through the View menu)