jakecolman
IS-IT--Management
Using Crystal XI with Oracle 9.
I am printing detail records that include three calculated columns: AssetBal, LiabilityBal, and FundingBal. For each row, FundingBal is the difference between AssetBal and LiabilityBal. AssetBal and LiabilityBal are formulas that examine the record and, depending upon various fields in the record, either increment its number variable or leaves it alone. Both formulas use 'whileprintingrecords' in its work.
How do write a formula that can summarize each of these there columns and print/reset the values in a group footer? How do I also print a grand total at the end of the report?
My AssetBal formula (which is very similar to my LiabilityBal formula) looks like this:
whileprintingrecords;
numberVar AssetBal;
if {Command.PRODUCT CLASS} = "ASSET" then
AssetBal := AssetBal + {Command.AMOUNT}
else
AssetBal := AssetBal
Is this the right way to go about this?
Thanks for any help!
...Jake
I am printing detail records that include three calculated columns: AssetBal, LiabilityBal, and FundingBal. For each row, FundingBal is the difference between AssetBal and LiabilityBal. AssetBal and LiabilityBal are formulas that examine the record and, depending upon various fields in the record, either increment its number variable or leaves it alone. Both formulas use 'whileprintingrecords' in its work.
How do write a formula that can summarize each of these there columns and print/reset the values in a group footer? How do I also print a grand total at the end of the report?
My AssetBal formula (which is very similar to my LiabilityBal formula) looks like this:
whileprintingrecords;
numberVar AssetBal;
if {Command.PRODUCT CLASS} = "ASSET" then
AssetBal := AssetBal + {Command.AMOUNT}
else
AssetBal := AssetBal
Is this the right way to go about this?
Thanks for any help!
...Jake