Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Does not include last work day? 1

Status
Not open for further replies.

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
 
Well, wouldn't the currentdate always be the last work day?

{table.date} >= currentdate

-LB
 
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top