Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Resetting Variable

edited January 2005 in General
I have a variable which is calculated in the detail band of my report that
is set by. the only problem is when I print from the preview pane or use the
page forward buttons it adds the totals again. Where should I place a reset
for this variable. the report is set to two pass.

In the oncalc of Dbcalc

GrossWeight:=0
if DBCalc3.Value=1 then GrossWeight:=DBPalletReels['GrossWeightUnit'];

VarGrossWeight:=GrossWeight+VarGrossWeight;



Thanks

Comments

  • edited January 2005
    Sorry but my mind clear and found the answer in the examples


This discussion has been closed.