rbbakeriii
New Member
- Joined
- Jan 19, 2017
- Messages
- 9
I have 5 queries that pull data from some tables and then create new tables. Each of these queries requires a Start/End Date for a range of the data to be pulled. For everything to work, the same range is entered for each of these queries.
So I have a Macro that runs all of these queries and creates my tables to then pull the data into 2 final queries of the reports I need. Every time I run the Macro, it requests the [Start Date] and [End Date] for all of the 5 queries.
I'm assuming there is a way to make a table/query that runs before my queries in the macro, which asks for the Start/End date and then I can use that data for my criteria in each of the queries that is requesting the data. Can anyone help me? It's not the end of the world but I am tweaking this report to get the exact info I want, and every time I make a small change, I have to enter the data like 10x (for some reason Access normally asks me for it 2x in each query).
Thanks!
So I have a Macro that runs all of these queries and creates my tables to then pull the data into 2 final queries of the reports I need. Every time I run the Macro, it requests the [Start Date] and [End Date] for all of the 5 queries.
I'm assuming there is a way to make a table/query that runs before my queries in the macro, which asks for the Start/End date and then I can use that data for my criteria in each of the queries that is requesting the data. Can anyone help me? It's not the end of the world but I am tweaking this report to get the exact info I want, and every time I make a small change, I have to enter the data like 10x (for some reason Access normally asks me for it 2x in each query).
Thanks!