Apr 5, 2010 #1 willz99ta IS-IT--Management Sep 15, 2004 132 US Hi and thanks for your help, I am trying to not include any dates >= the last work day. What is the best way to accomplish this? Thanks again for your help, Will
Hi and thanks for your help, I am trying to not include any dates >= the last work day. What is the best way to accomplish this? Thanks again for your help, Will
Apr 5, 2010 1 #2 lbass Technical User Feb 9, 2002 32,816 US Well, wouldn't the currentdate always be the last work day? {table.date} >= currentdate -LB Upvote 0 Downvote
Apr 5, 2010 Thread starter #3 willz99ta IS-IT--Management Sep 15, 2004 132 US I worded it stangely. I was trying to find the selection formula that would find all dates up to the day before the previous work day. What I used was: if dayofweek(currentdate) = 2 then {date} < dateadd("d",-3,currentdate) else if dayofweek(currentdate) = 1 then {date} < dateadd("d",-2,currentdate) else {date} < dateadd("d",-1,currentdate) What do you think O Master of What Is Crystal? Thanks, Will Upvote 0 Downvote
I worded it stangely. I was trying to find the selection formula that would find all dates up to the day before the previous work day. What I used was: if dayofweek(currentdate) = 2 then {date} < dateadd("d",-3,currentdate) else if dayofweek(currentdate) = 1 then {date} < dateadd("d",-2,currentdate) else {date} < dateadd("d",-1,currentdate) What do you think O Master of What Is Crystal? Thanks, Will