Hi All, I am not very experience in VBA or creating mods in Access but I hope I can get some opinions and advice on an idea I have.
I have a database with several (approx 30) saved queries. Most of these queries are used weekly to pull data based on date parameters. So they are pretty much automated queries that prompt the user to enter a start and end date to run the query.
In these 30 or so queries, most of them have the same calculated field in each query. For example one calculated field to calculate a Store Name to be "Store A" if its location (city) is D.C. and the fiscal year is greater than FY12 would read Store Name: IIf(([City]="Washington DC") And ([FY]>"12"),"Store A"
But sometimes this calculated field may need to change, such as FY>13, or the city may change.
So my question is, instead of going into each individual saved query to change this calculated field, would it be possible to just create a mod that i can go into and make the change once to change this calculated field for all saved queries?
I have a database with several (approx 30) saved queries. Most of these queries are used weekly to pull data based on date parameters. So they are pretty much automated queries that prompt the user to enter a start and end date to run the query.
In these 30 or so queries, most of them have the same calculated field in each query. For example one calculated field to calculate a Store Name to be "Store A" if its location (city) is D.C. and the fiscal year is greater than FY12 would read Store Name: IIf(([City]="Washington DC") And ([FY]>"12"),"Store A"
But sometimes this calculated field may need to change, such as FY>13, or the city may change.
So my question is, instead of going into each individual saved query to change this calculated field, would it be possible to just create a mod that i can go into and make the change once to change this calculated field for all saved queries?