Hi...
I have a query which I'm accessing through PHP as a stored procedure.
However, I need to be able not to pass a couple of parameters in certain
situations. When I do this, I get an error:
[Microsoft][ODBC Microsoft Access Driver] Parameter [@str_year] has no
default value.
But it works fine in Access when I run the query from there and just hit
enter on the relevant parameter dialog. Is there a way of setting a default
value for a query parameter? I can't find out anything about it...
TIA.
Plankmeister.
I have a query which I'm accessing through PHP as a stored procedure.
However, I need to be able not to pass a couple of parameters in certain
situations. When I do this, I get an error:
[Microsoft][ODBC Microsoft Access Driver] Parameter [@str_year] has no
default value.
But it works fine in Access when I run the query from there and just hit
enter on the relevant parameter dialog. Is there a way of setting a default
value for a query parameter? I can't find out anything about it...
TIA.
Plankmeister.
Comment