I know how to use docmd.runsql to run an sql. That's fine if it is an insert, update, or delete statement. But now I want to run a select sql statement from within a VBA function. I want the results to go into a recordset.
How do I declare the recordset, instantiate it, and fill it with the results of my query?
How do I declare the recordset, instantiate it, and fill it with the results of my query?