I am using CR v7 - database driver - PdBXBSE.DLL (xbase)
I have a report where a have to take numbers and show a percentage change from month to month. However when the location changes, i want to reset the variable So that it starts from 0 again. I am using 3 formulas, all using a numbervar - one formula to do the calc. in the details and is suppressed;
WhilePrintingRecords;
numbervar ao:={cert_mast.CONTRIB} % previous({cert_mast.CONTRIB})
another in the group header used to reset the variable;
WhilePrintingRecords;
numbervar ao:=0;
and one in details that displays the numbervar.
Whileprintingrecords;
numbervar ao;
ie.
January 9 0.00%
February 19 211.11%
March 18 94.74%
and so on.
What am I doing wrong?
thanks in advance,
jds
I have a report where a have to take numbers and show a percentage change from month to month. However when the location changes, i want to reset the variable So that it starts from 0 again. I am using 3 formulas, all using a numbervar - one formula to do the calc. in the details and is suppressed;
WhilePrintingRecords;
numbervar ao:={cert_mast.CONTRIB} % previous({cert_mast.CONTRIB})
another in the group header used to reset the variable;
WhilePrintingRecords;
numbervar ao:=0;
and one in details that displays the numbervar.
Whileprintingrecords;
numbervar ao;
ie.
January 9 0.00%
February 19 211.11%
March 18 94.74%
and so on.
What am I doing wrong?
thanks in advance,
jds