Clipper2000
Programmer
I supposed joining a table plus creating a query "on the fly" as the proposed syntax below is not possible in Access. Does anyone know of a way to make this work?
What I need to make this work is an alaise name for the *implied* query "select Table2.Field1 from Table2" (which do not exist yet). Assuming the name is QryTemp, then of course it will work such as:
So the question is how can I make Access aware of QryTemp before the query is run, assuming this solution is possible.
Code:
SELECT Table1.Field1
from Table1 INNER JOIN (select Table2.Field1 from Table2) ON Table1.Field1 =(select Table2.Field1 from Table2).Field1
What I need to make this work is an alaise name for the *implied* query "select Table2.Field1 from Table2" (which do not exist yet). Assuming the name is QryTemp, then of course it will work such as:
Code:
SELECT Table1.Field1
from Table1 INNER JOIN (select Table2.Field1 from Table2) ON Table1.Field1 =QryTemp.Field1
So the question is how can I make Access aware of QryTemp before the query is run, assuming this solution is possible.