vba_access thread: dao control taking query with parameter
Hello, I have a dao data control whose recordset i want to be a query. Problem is the query takes a parameter. normally this works daoData.RecordSet ="MyQuery" but this fials with the error meesage "expecting 1 paramter" I know how to do this with a QueryDef object but not a dao data control. how can i open the query using the dao data control and pass the paramter? Thank you, Mike Wilson
|





