Variable reset in a cross tab report
Variable reset in a cross tab report
(OP)
Hi All,
I have a cross tab report where we have a formula that displays a row count next to the customer in the cross tab object. The crosstab report is currently grouped by customer code.
I need to figure out how to reset the row count on the change of the group.
I tried creating variable formulas to do the accumulation, reset and display. After the formulas were created however, they aren't showing in the report list. So, can I used variable reset formuals in a cross tab report? If not, any advise as to how to get these counters to reset in the crosstab after the group changes?
Thanks in advance
I have a cross tab report where we have a formula that displays a row count next to the customer in the cross tab object. The crosstab report is currently grouped by customer code.
I need to figure out how to reset the row count on the change of the group.
I tried creating variable formulas to do the accumulation, reset and display. After the formulas were created however, they aren't showing in the report list. So, can I used variable reset formuals in a cross tab report? If not, any advise as to how to get these counters to reset in the crosstab after the group changes?
Thanks in advance
RE: Variable reset in a cross tab report
If Not onfirstrecord and CutomerID <> Previous(customer) then yourvar:=0 else yourvar:=YOurvar
onfirstrecord is a crystal function and should turn blue
Ian
RE: Variable reset in a cross tab report
-LB
RE: Variable reset in a cross tab report
RE: Variable reset in a cross tab report
whileprintingrecords;
numbervar e := 0;
-LB