B
BryanK
I'm trying to programmatically calculate report sums in my
report. My function has
Function CalcTotal(R As Report)
GrandTotal = GrandTotal + Nz(R![<mytextbox>], 0)
CalcTotal = R![<mytextbox>]
End Function
The problem I have is when I go ahead print my report...
all my total are doubled. The same goes true when I
change my margins. What's happening is access is
calculating the totals again. How do I keep the sums as
they are once they appear on the preview and keep access
from recalculating the grand total sums?
report. My function has
Function CalcTotal(R As Report)
GrandTotal = GrandTotal + Nz(R![<mytextbox>], 0)
CalcTotal = R![<mytextbox>]
End Function
The problem I have is when I go ahead print my report...
all my total are doubled. The same goes true when I
change my margins. What's happening is access is
calculating the totals again. How do I keep the sums as
they are once they appear on the preview and keep access
from recalculating the grand total sums?