Y
Yoam69
I have an Access query that contains a parameter called [AgeDate]. When I
run the query in Access, it does what I expect...it asks for the value of
[AgeDate] and then executes the query and uses that value correctly in the
calculations therein.
I want to connect to that query using Excel so I can analyze the data there.
So, I'm setting up an ODBC connection to the Access database. This works
just fine as long as there is no paramater value in the Access query.
However, with a paramater value specified in the Access query, I get an error
message from MS Query that says "Too Few Parameters. Expected 1."
So, my question is this: is there a way to pass a parameter value to the
Access query from Excel?
run the query in Access, it does what I expect...it asks for the value of
[AgeDate] and then executes the query and uses that value correctly in the
calculations therein.
I want to connect to that query using Excel so I can analyze the data there.
So, I'm setting up an ODBC connection to the Access database. This works
just fine as long as there is no paramater value in the Access query.
However, with a paramater value specified in the Access query, I get an error
message from MS Query that says "Too Few Parameters. Expected 1."
So, my question is this: is there a way to pass a parameter value to the
Access query from Excel?