Hi,
I have inherited a database which has numerous (70+) queries all with a date range criteria (i.e. Between #01/01/2011# and #31/12/2012#). Each month someone has to change the date range in every query and then run it to get stats out.
Is there any quick vba code to loop through each object and search for a string in the SQL and replace it with another one?
Any help appreciated.
Thanks
Jonathan
I have inherited a database which has numerous (70+) queries all with a date range criteria (i.e. Between #01/01/2011# and #31/12/2012#). Each month someone has to change the date range in every query and then run it to get stats out.
Is there any quick vba code to loop through each object and search for a string in the SQL and replace it with another one?
Any help appreciated.
Thanks
Jonathan