I'm setting intStandardCount(1 to 4) to zero in my report header and then have the following in On Format for the detail
If FormatCount = 1 Then
Select Case [Ability level]
Case Is = "B"
intStandardcount(1) = intStandardcount(1) + 1
Case Is = "I"
intStandardcount(2) = intStandardcount(2) + 1
Case Is = "A"
intStandardcount(3) = intStandardcount(3) + 1
Case Else
intStandardcount(4) = intStandardcount(4) + 1
End Select
End If
I then use the totals in the report footer, but they are wrong... I have tried tweaking it to make the totals correct (they are all too big by a factor of about 25%) but to no avail. Any thoughts, please? Thanks
If FormatCount = 1 Then
Select Case [Ability level]
Case Is = "B"
intStandardcount(1) = intStandardcount(1) + 1
Case Is = "I"
intStandardcount(2) = intStandardcount(2) + 1
Case Is = "A"
intStandardcount(3) = intStandardcount(3) + 1
Case Else
intStandardcount(4) = intStandardcount(4) + 1
End Select
End If
I then use the totals in the report footer, but they are wrong... I have tried tweaking it to make the totals correct (they are all too big by a factor of about 25%) but to no avail. Any thoughts, please? Thanks