If anyone could help me it would be greatly appreciated. I am using crystal version 6 and I am trying to pass information from a subreport to the main report. I have set up three formulas:
1)Grand total main:----I placed this formula in main report above subreport(GH)
whileprintingrecords;
storenumbervar ("x", 0)
2)Grand Total Store:---placed this in the subreport
whileprintingrecords;
storenumbervar("x", Sum ({CLFU$M$S$00000007T.CURASSET}))
3)Fetch Grand Total--placed this in the main report
whileprintingrecords;
fetchnumbervar("x"
I need the formulas to store the sum for each record and display the total. However, the formula is only displaying the sum of the last value. How do I make it store all the values and then display the total of all values. I understand why it is giving me this value but I don't know how to modify the second formula.
1)Grand total main:----I placed this formula in main report above subreport(GH)
whileprintingrecords;
storenumbervar ("x", 0)
2)Grand Total Store:---placed this in the subreport
whileprintingrecords;
storenumbervar("x", Sum ({CLFU$M$S$00000007T.CURASSET}))
3)Fetch Grand Total--placed this in the main report
whileprintingrecords;
fetchnumbervar("x"
I need the formulas to store the sum for each record and display the total. However, the formula is only displaying the sum of the last value. How do I make it store all the values and then display the total of all values. I understand why it is giving me this value but I don't know how to modify the second formula.