C
cunger28
I'm currently building a pass through query which ties to an IBM Iseries ODBC
driver. Is there any way to include an "in" statement from another non-pass
through table or query in the same access database? For the sake of example,
let's say I have a static table of user names (name: tbl_users). I have a
pass through query built that I would like to only return results based off
of the tbl_users content. What would be the syntax to accomplish this?
In theory, the logic would look like this but I'm not sure of the exact
syntax:
Select ODBC.userid
From ODBC
Where ODBC.userid in (tbl_users.userid)
Thanks in advance.
driver. Is there any way to include an "in" statement from another non-pass
through table or query in the same access database? For the sake of example,
let's say I have a static table of user names (name: tbl_users). I have a
pass through query built that I would like to only return results based off
of the tbl_users content. What would be the syntax to accomplish this?
In theory, the logic would look like this but I'm not sure of the exact
syntax:
Select ODBC.userid
From ODBC
Where ODBC.userid in (tbl_users.userid)
Thanks in advance.