G
Guest
I have a report. There is a column of amounts. I keep a running total and
print it at the end. When I run the report, the display comes up exactly as
it should, but when I print it, the value doubles.
Here is the code I've used:
Option Compare Database
Dim total_claim As Currency
Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer)
total_claim = total_claim + Me.Amount
Me.Total = total_claim
End Sub
What have I done wrong? How can I fix it? Thanx.
L
print it at the end. When I run the report, the display comes up exactly as
it should, but when I print it, the value doubles.
Here is the code I've used:
Option Compare Database
Dim total_claim As Currency
Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer)
total_claim = total_claim + Me.Amount
Me.Total = total_claim
End Sub
What have I done wrong? How can I fix it? Thanx.
L