S
shapper
Hello,
Is it possible in Microsoft Access 2007 to call a sub-query and
sending its parameter?
Sub-query (UsersByType):
SELECT *
FROM USERS
WHERE USERS.TYPE=[@UserType];
And now on the query I want to call this table as follows:
SELECT *
FROM UsersByType AS ubt
WHERE ubt.UserType = "Administrator";
Obviously this does not work.
I tried other options like:
SELECT *
FROM UsersByType AS ubt("Administrator");
This does not work either.
Does anyone knows if this is possible in Microsoft Access 2007?
Thank You,
Miguel
Is it possible in Microsoft Access 2007 to call a sub-query and
sending its parameter?
Sub-query (UsersByType):
SELECT *
FROM USERS
WHERE USERS.TYPE=[@UserType];
And now on the query I want to call this table as follows:
SELECT *
FROM UsersByType AS ubt
WHERE ubt.UserType = "Administrator";
Obviously this does not work.
I tried other options like:
SELECT *
FROM UsersByType AS ubt("Administrator");
This does not work either.
Does anyone knows if this is possible in Microsoft Access 2007?
Thank You,
Miguel