I have a report that has two date prompts that needs to be scheduled Mon-fri, but the dates are different based on what day of the week it is. My chart is (Date1 and Date2 are referring to the day in the previous week):
Today Date1 Date2
Monday Wed Thurs
Tuesday Thurs Sun
Wednesday Sun Monday
Thursday Monday Tues
Friday Tues Wed
I know I have to say if the day of the week is "whatever today is" then date1=x and date2=y but I'm not very familiar with date functions to be able to go back and get the previous weekday on the chart above.
Anyone have a slick way to do this?
thanks,
-Eric
Today Date1 Date2
Monday Wed Thurs
Tuesday Thurs Sun
Wednesday Sun Monday
Thursday Monday Tues
Friday Tues Wed
I know I have to say if the day of the week is "whatever today is" then date1=x and date2=y but I'm not very familiar with date functions to be able to go back and get the previous weekday on the chart above.
Anyone have a slick way to do this?
thanks,
-Eric