Since Crystal doesn't allow me to summarize a summary field how would I get a report summary.
I have a detail line for a CASE with a newvalue field and an originalvalue field. I have 2 formulas that for each value.
@NEW:
if newvalue then
1
else
0
@ORIG:
if originalvalue then
1
else
0
I then have summarized these by the CASE since there can be several detail lines for each case. I have another formula:
SUM_VAL:
if sum(@NEW,case) >= sum(@ORIG,case) then
sum(@NEW,case)
else
sum(@ORIG,case)
I now want to summarize the @SUM_VAL at report level but of course Crystal does not allow this. Does anyone have a suggestion for a alternate. I could write a stored procedure but I'd like to see if I can do it through Crystal first.
Thanks for any help
I have a detail line for a CASE with a newvalue field and an originalvalue field. I have 2 formulas that for each value.
@NEW:
if newvalue then
1
else
0
@ORIG:
if originalvalue then
1
else
0
I then have summarized these by the CASE since there can be several detail lines for each case. I have another formula:
SUM_VAL:
if sum(@NEW,case) >= sum(@ORIG,case) then
sum(@NEW,case)
else
sum(@ORIG,case)
I now want to summarize the @SUM_VAL at report level but of course Crystal does not allow this. Does anyone have a suggestion for a alternate. I could write a stored procedure but I'd like to see if I can do it through Crystal first.
Thanks for any help