I've tried your code and errors popped up. Through trial and error I've found in A97 the identifier to the left of INNER JOIN must be a table name and not a query. Even using an alias will not work. This was probably changed in later versions of Access.
A kind soul on another forum pointed me...
Im using Access 97 and the query is complaining about a "syntax error missing operator". I suspect it has something to do with using two SELECTs for the INNER JOIN. INNER JOIN expects table names but I thought a SELECT returns a table.
SELECT * FROM Card WHERE Card.pk IN
(
(SELECT DISTINCT...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.