I am using Crystal 8.5 on a Paradox database. I have running total that correctly counts the number of barcodes in the details. This is then used in a formula to display the total value of the number of barcodes. That formula is named @Test and is this:
If Isnull({hetype.Replacement}) then 0 else {hetype.Replacement}*{#TotalBarcodeType}
From that, I then have a running total calculation to give me subtotal of @test for the category of equipment.
This formula is @CatVal and is this:
shared currencyvar CatVal:=CatVal + {@TEST}
I have a reset calculation for cat val in the header.
The problem i am having is that for some reason, CatVal is adding the last record 2 times so cat val shows $50, then $100, then $200, but, when I try to show it in the subtotal, it displays $550.00 (50+100+200+200).
I can't figure out why it is doubling that last record.
Any help/ideas is appreciated.
If Isnull({hetype.Replacement}) then 0 else {hetype.Replacement}*{#TotalBarcodeType}
From that, I then have a running total calculation to give me subtotal of @test for the category of equipment.
This formula is @CatVal and is this:
shared currencyvar CatVal:=CatVal + {@TEST}
I have a reset calculation for cat val in the header.
The problem i am having is that for some reason, CatVal is adding the last record 2 times so cat val shows $50, then $100, then $200, but, when I try to show it in the subtotal, it displays $550.00 (50+100+200+200).
I can't figure out why it is doubling that last record.
Any help/ideas is appreciated.