Resetting Variable
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
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
This discussion has been closed.
Comments