I am using Crystal 8.5.
I have generated a report for Invoice and Payments. The report is grouped on Invoice. Thers are more than one payments (part-payments) against an invoice. My report detail columns are PayDate, PayNo, PayAmt, AmtPaidUpdate. I am calulating "Amt paid sofar" i.e. AmtPaidUpdate by formula {amtpaid} + previous({amtpaid}). For the first group the results are ok but for next group the first value (AmtPaid) is getting added with the last value (AmtPaid) of previous group.
I want the second group and onwards values should not get added to previous value by identifying first record of each group.
Need Guidance.
I have generated a report for Invoice and Payments. The report is grouped on Invoice. Thers are more than one payments (part-payments) against an invoice. My report detail columns are PayDate, PayNo, PayAmt, AmtPaidUpdate. I am calulating "Amt paid sofar" i.e. AmtPaidUpdate by formula {amtpaid} + previous({amtpaid}). For the first group the results are ok but for next group the first value (AmtPaid) is getting added with the last value (AmtPaid) of previous group.
I want the second group and onwards values should not get added to previous value by identifying first record of each group.
Need Guidance.