S
sara
I'm new to anything other than simple reports, but this
seems it should be easy, so here goes.
I am showing data per hour, from a Database, where each
hour (08:00, 09:00 to 22:00, 23:00) should be displayed in
the Detail section and the 23:59 value in Hour means the
average for the whole day, and should be displayed in the
Footer section.
This is what I did:
Private Sub GroupFooter1_Print(Cancel As Integer,
PrintCount As Integer)
If [Hour] = "23:59"
Then
GroupFooter1.Visible = True
Else
GroupFooter1.Visible = False
End If
End Sub
I get all my hour data (every hour) including 23:59, in
the detail section and don't get a footer section at all.
I feel I'm so close, but after a few hours tyring all
sorts of combinations, I am asking for help.
Many Thanks,
Sara
seems it should be easy, so here goes.
I am showing data per hour, from a Database, where each
hour (08:00, 09:00 to 22:00, 23:00) should be displayed in
the Detail section and the 23:59 value in Hour means the
average for the whole day, and should be displayed in the
Footer section.
This is what I did:
Private Sub GroupFooter1_Print(Cancel As Integer,
PrintCount As Integer)
If [Hour] = "23:59"
Then
GroupFooter1.Visible = True
Else
GroupFooter1.Visible = False
End If
End Sub
I get all my hour data (every hour) including 23:59, in
the detail section and don't get a footer section at all.
I feel I'm so close, but after a few hours tyring all
sorts of combinations, I am asking for help.
Many Thanks,
Sara