Hi all,
I am writing a SQL query in the TableAdapter Query Configuration Wizard and it includes a Subquery.
I have some parameters in my main query, and would like to have a parameter in the Subquery also. My query works up until the point where I add a parameter to the Subquery, when it stops returning any data. It returns data when I hard-code a value in place of the Subquery's parameter, so the rest of the query must be working fine. It just doesn't like the parameter in the Subquery.
Am I missing something here? Is it even possible to have parameterised Subqueries in this version of SQL?
FYI I am querying a .mdb Access 2000 database if that makes any difference.
Thanks for any help,
I am writing a SQL query in the TableAdapter Query Configuration Wizard and it includes a Subquery.
I have some parameters in my main query, and would like to have a parameter in the Subquery also. My query works up until the point where I add a parameter to the Subquery, when it stops returning any data. It returns data when I hard-code a value in place of the Subquery's parameter, so the rest of the query must be working fine. It just doesn't like the parameter in the Subquery.
Am I missing something here? Is it even possible to have parameterised Subqueries in this version of SQL?
FYI I am querying a .mdb Access 2000 database if that makes any difference.
Thanks for any help,