TinkerMan
Dooh!
- Local time
- Today, 14:00
- Joined
- Jan 12, 2005
- Messages
- 35
Hi all 
I have searched for this particular problem, but no solutions found so far. Forgive me if I have missed it. If I have, just point me in the right direction...
I have a query I need to run in VBA (DAO) as dnamic and it needs parameters. Also, if the query is run another way, the user will be prompted for that parameter (and that is not desireable).
As far as I can see, outputTo, transferSpreadsheet, etc. all work on stored tables/queries. Is there a way to export a DAO.RecordSet?
Suggestions welcome. I do not mind a temporary text file (csv or similar).
Is it easy to save a recordSet to a new temporary table? that will allow using standard export functions....
By the way, is there a good way of launching excel without specifying the path to it, and still be able to pass arguments?
(I'm using office 2K)
Thanks

I have searched for this particular problem, but no solutions found so far. Forgive me if I have missed it. If I have, just point me in the right direction...
I have a query I need to run in VBA (DAO) as dnamic and it needs parameters. Also, if the query is run another way, the user will be prompted for that parameter (and that is not desireable).
As far as I can see, outputTo, transferSpreadsheet, etc. all work on stored tables/queries. Is there a way to export a DAO.RecordSet?
Suggestions welcome. I do not mind a temporary text file (csv or similar).
Is it easy to save a recordSet to a new temporary table? that will allow using standard export functions....
By the way, is there a good way of launching excel without specifying the path to it, and still be able to pass arguments?
(I'm using office 2K)
Thanks
Last edited: