Macro alternative? Running multiple queries in consecutive order?

Justinidea

Board Regular
Joined
Apr 7, 2010
Messages
57
I'm sure this is a silly question, but one never knows what is possible until one asks.

I have an Access DB with 25 queries to manipulate my data from start to finish. There are several different types of queries involved - select, make table, append and delete queries in various order.

I have a macro to run all those queries in consecutive order. Is there any way to do that with one query instead of a macro?

Thanks!!
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
I think probably not, especially if you are mixing different query types. I would say even if it were, it would be a very bad idea to do that anyway. It would make debugging ("finding issues") very difficult with a query that complex. Best to break it up into multiple chunks. You may be able combine some of them to reduce the number down from 25, though.
 
Upvote 0

Forum statistics

Threads
1,214,918
Messages
6,122,241
Members
449,075
Latest member
staticfluids

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top