A
azaous
Guest
I am running a report with combo boxes giving different information. I am using (below as my code) My problem is I want to total this field from the information in my report I tried dcount but it counts everything in that field from the table not the report can someone help me I have 2 days to get this done the presure is on :-(
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
'Running total for Worktype Repair
If (Me.WorkType = "Repair") Then
Me.RunningTotal = 1
Else
Me.RunningTotal = 0
End If
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
'Running total for Worktype Repair
If (Me.WorkType = "Repair") Then
Me.RunningTotal = 1
Else
Me.RunningTotal = 0
End If