Run sequential queries on one button click
Hello, I hope you can help me.
I have to export to excel, 20 or so queries.
What I would like to do is set the date range on a form, and then click Submit. The submit would perform about 20 queries, one of the other and writing EACH to its own excel file. Is this possible?
The queries are exactly the same, except for one WHERE clause. I can pre-write the queries, all 20 of them, but how I do make them begin after the previous ends? And what would be the best way to have these write to a file upon completion?
Thanks guys
