Link to home
Start Free TrialLog in
Avatar of valmatic
valmaticFlag for United States of America

asked on

Use Networkdays function in Crystal Reports

Hi.  I have created a calculated field in crystal reports and need to add -2 workdays to it.  Not really sure how to do this in crystal.

calc field is "*EMD2:" +  totext({VMI_WC_PRIO_POS.EARLIEST_DATE}, "MM/dd/yy")  

I tried "*EMD2:" +  totext({VMI_WC_PRIO_POS.EARLIEST_DATE}-2, "MM/dd/yy") but I get weekend dates in some cases. Is there a way to do this?

thanks
ASKER CERTIFIED SOLUTION
Avatar of Mike McCracken
Mike McCracken

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of valmatic

ASKER

HI Mike,  I changed day 2 to -4 to get 2 workdays but perfect answer.  The extra knowledge is hugely appreciated ..
~V~