What I'm trying to do (and figure out if it is possible, though I imagine it is) is execute a query repeatedly for a date range that is incrementally increased to a cap.
I can't just link my table to date table because of the way the database was built (not by me) forces me to use 2 date fields with criteria based off my date of which neither can be the exact date of my date. So to run for a range of dates I would physically have to change the date at the moment.
So what I'd like to do is have a VB code or some command that would run my query for Date A then do Date A +1, looping until it got to Date X (my end date).
Any help would be appreciated. If I need to go into more detail on how the table is setup let me know.
Thanks
I can't just link my table to date table because of the way the database was built (not by me) forces me to use 2 date fields with criteria based off my date of which neither can be the exact date of my date. So to run for a range of dates I would physically have to change the date at the moment.
So what I'd like to do is have a VB code or some command that would run my query for Date A then do Date A +1, looping until it got to Date X (my end date).
Any help would be appreciated. If I need to go into more detail on how the table is setup let me know.
Thanks