Can anyone help
I have a stored parameter query that I use as with an ADODB command object to return an ADODB Recordset.
There is alot of SQL in the query so I don't want to use an SQL statement in the code .
As this function is used by several forms I cannot set the Parameters as form control references in the SQL I can't use an eval function to set them. The SQL parameters are [Param1] and [Param2]
I can't seem to get the syntax right to assign the parameter values to the variables in the function
does any one know how to do this
Thanks for your help
Regards
Jon
I have a stored parameter query that I use as with an ADODB command object to return an ADODB Recordset.
There is alot of SQL in the query so I don't want to use an SQL statement in the code .
As this function is used by several forms I cannot set the Parameters as form control references in the SQL I can't use an eval function to set them. The SQL parameters are [Param1] and [Param2]
I can't seem to get the syntax right to assign the parameter values to the variables in the function
does any one know how to do this
Thanks for your help
Regards
Jon