In crystal 9.0, I have a report that has the following:
Group 1: @approved
if isnull({Command.FLDREIMBURSEMENTAPPROVEDDATE})
and isnull({Command.FLDREIMBURSEMENTDENIEDDATE}) then
"Not Yet Approved"
else if not isnull({Command.FLDREIMBURSEMENTDENIEDDATE}) then
"Denied"
else
"Approved"
Group 2: Project Number
Details:
number name cipnum costestimate
with output that looks like:
1234 1234name w123.01 33,000
1234 1234name e123.00 33,000
1234 1234name w33.95 33,000
9999 999name w111.11 157,000,200
i supress the duplicates so only the different cipnums and cost estimates show.
What I need to do now is to sum the cost estimate by project number. What happens is that it is adding all of the cost estimates and I only want the first one.
What I need to come up with is:
Group 1 header: Approved 157033200
1234 1234name w123.01 33,000
e123.00
w33.95
9999 999name w111.11 157,000,200
instead what I get is:
Group 1 header: Approved 157099200.00
1234 1234name w123.01 33,000
e123.00
w33.95
9999 999name w111.11 157,000,200
How do I set this up? I tried running total and it gives me the same answer.
thanks
Lhuffst
Group 1: @approved
if isnull({Command.FLDREIMBURSEMENTAPPROVEDDATE})
and isnull({Command.FLDREIMBURSEMENTDENIEDDATE}) then
"Not Yet Approved"
else if not isnull({Command.FLDREIMBURSEMENTDENIEDDATE}) then
"Denied"
else
"Approved"
Group 2: Project Number
Details:
number name cipnum costestimate
with output that looks like:
1234 1234name w123.01 33,000
1234 1234name e123.00 33,000
1234 1234name w33.95 33,000
9999 999name w111.11 157,000,200
i supress the duplicates so only the different cipnums and cost estimates show.
What I need to do now is to sum the cost estimate by project number. What happens is that it is adding all of the cost estimates and I only want the first one.
What I need to come up with is:
Group 1 header: Approved 157033200
1234 1234name w123.01 33,000
e123.00
w33.95
9999 999name w111.11 157,000,200
instead what I get is:
Group 1 header: Approved 157099200.00
1234 1234name w123.01 33,000
e123.00
w33.95
9999 999name w111.11 157,000,200
How do I set this up? I tried running total and it gives me the same answer.
thanks
Lhuffst