Running Total for every record

At the top of your report's module, you will see the first line, i.e. Option Compare Database, add those other two lines just below it.

Thank you for the confirmation.

Unfortunately I am receiving "Invalid Outside Procedure" on compile.

I tried your code first, then modified to this:

Option Compare Database
Option Explicit

Private counter As Long
counter = RunTot3

If counter > 18 Then
counter = 1
End If

txtReset.Value = counter
 

Users who are viewing this thread

Back
Top Bottom