Tried using:
Private Sub GroupFooter2_Print(Cancel As Integer, PrintCount As Integer)
If Me.SubGroup = "Scheduled Time" Then
Me.GroupFooter2.Visible = False
Else
Me.GroupFooter2.Visible = True
End If
End Sub
But does not work. Now, I can hide all the data in groupfooter if the criteria is met but leaves a "blank line" and I was trying to avoid that blank line.
If I exclude "Scheduled Time" in the query, the "total" formulas do not work. Unfortunate, but I need the time in the query for calculations but don't want it to show in the report.
Private Sub GroupFooter2_Print(Cancel As Integer, PrintCount As Integer)
If Me.SubGroup = "Scheduled Time" Then
Me.GroupFooter2.Visible = False
Else
Me.GroupFooter2.Visible = True
End If
End Sub
But does not work. Now, I can hide all the data in groupfooter if the criteria is met but leaves a "blank line" and I was trying to avoid that blank line.
If I exclude "Scheduled Time" in the query, the "total" formulas do not work. Unfortunate, but I need the time in the query for calculations but don't want it to show in the report.