querydef
Hi,
I have a query which I use as the basis for a querydef in VBA from which I extract the SQL (SQLstring = qdf.SQL) and pass this to a DAO recordset. Now, the problem I have is like this: I need to pass a parameter to the query in VBA and am not sure how to do this. Maybe I am approaching the whole thing with a wrong approach, any help/ideas are appreciated.
|