houseofturner
Registered User.
- Local time
- Today, 09:44
- Joined
- Dec 10, 2009
- Messages
- 37
I have a simple function that says:
DoCmd.TransferSpreadsheet acExport, 10, "QueryName", "C:\FileName.xls", True, "TabName"
I want to export 5 or 6 very similar queries and I am concerned that my database is starting to just have way too many queries to be manageable.
Can I replace the query name with a piece of sql so that I am exporting the result of some SQL rather than just having an endless number of saved queries?
DoCmd.TransferSpreadsheet acExport, 10, "QueryName", "C:\FileName.xls", True, "TabName"
I want to export 5 or 6 very similar queries and I am concerned that my database is starting to just have way too many queries to be manageable.
Can I replace the query name with a piece of sql so that I am exporting the result of some SQL rather than just having an endless number of saved queries?