I have a field I am trying to post a summary.
I have it reset to 0 in the groupheader1 Customer name
Group footer 2 has the formula
also have my calculation for openamt
whileprintingrecords
numbervar totalopenamt
totalopenamt := totalopenamt + openamt
in groupfooter 1 I have displaytotalopenamt
whileprintingrecords
numbervar totalopenamt
However when totalopenamt prints it doubles the last entry
ex
openamt 10 totalopenamt 10
openamt 12 totalopenamt 22
openamt 15 totalopenamt 37
group footer display totalopenamt 42 (15 is added twice)
It should show 37
Obvious mistake somewhere but can't seem to figure it out
I have it reset to 0 in the groupheader1 Customer name
Group footer 2 has the formula
also have my calculation for openamt
whileprintingrecords
numbervar totalopenamt
totalopenamt := totalopenamt + openamt
in groupfooter 1 I have displaytotalopenamt
whileprintingrecords
numbervar totalopenamt
However when totalopenamt prints it doubles the last entry
ex
openamt 10 totalopenamt 10
openamt 12 totalopenamt 22
openamt 15 totalopenamt 37
group footer display totalopenamt 42 (15 is added twice)
It should show 37
Obvious mistake somewhere but can't seem to figure it out