I am stumped and hoping someone here can help...
I have a report that will need to be run once per week, but not always on the same day. The report needs to include all the records from our DB that have dates from that following Sunday through Saturday. I would like this report to figure this out automatically based on the current date, so the user doesn't need to enter the range of dates into a parameter. My date field is a DateTime.
Examples:
Today is Tuesday, October 30th. If I ran the report today, I'd need to include records for November 4-10.
If I ran the report tomorrow, October 31st, I'd also need to include records for November 4-10.
Any ideas?