dlongnecker
MIS
I'm trying to create a report that will check to see if a work order is open (CLoSeD DATE = "" and if the OPEN DATE is less that 7, 8-14, and 21 days and more.
Below is the formula that I started working with, but the results vary and I'm not sure how to proceed. The numbers aren't coming up right and I've yet to find a rhyme or reason to it EXCEPT that the (CurrentDate - 14) and '- 14' isn't recognized (I'm not sure how Crystal handles dates yet).
If IsNull({tasks.CLSDDATE}) and {tasks.OPENDATE} = (CurrentDate - 14) then
1
else
0
Using a Summary field, I'm counting to get my total.
Any ideas?
Thanks in advance!
-David
David R. Longnecker
Product Support/Tech III
A+ Certified, Compass PDSE
USD 259, Wichita Public Schools
dlongnecker@usd259.net
Below is the formula that I started working with, but the results vary and I'm not sure how to proceed. The numbers aren't coming up right and I've yet to find a rhyme or reason to it EXCEPT that the (CurrentDate - 14) and '- 14' isn't recognized (I'm not sure how Crystal handles dates yet).
If IsNull({tasks.CLSDDATE}) and {tasks.OPENDATE} = (CurrentDate - 14) then
1
else
0
Using a Summary field, I'm counting to get my total.
Any ideas?
Thanks in advance!
-David
David R. Longnecker
Product Support/Tech III
A+ Certified, Compass PDSE
USD 259, Wichita Public Schools
dlongnecker@usd259.net