J
John Morgan
I am using Access 2000 and I am using code derived from page 688 of
Access 2000 Developers Handbook(Getz et al)
The intention is that a label with a 'continued' caption is visible
whenever a group extends on to a new page otherwise it remains
invisible.
In print preview the report shows up properly with the 'continued'
label visible in the right places. However when the form is printed
out the label does not show at all though everything else prints
properly.
The code I am using
Private Sub GroupHeader1_Print(Cancel As Integer, PrintCount As
Integer)
' Only show the Continued label if the
' time field hasn't changed since
' the last time you printed it.
Static strTime As String
lblContinued.Visible = (time = strTime)
'lblContinued.Visible = True
' Store away the current time.
strTime = time
End Sub
Access 2000 Developers Handbook(Getz et al)
The intention is that a label with a 'continued' caption is visible
whenever a group extends on to a new page otherwise it remains
invisible.
In print preview the report shows up properly with the 'continued'
label visible in the right places. However when the form is printed
out the label does not show at all though everything else prints
properly.
The code I am using
Private Sub GroupHeader1_Print(Cancel As Integer, PrintCount As
Integer)
' Only show the Continued label if the
' time field hasn't changed since
' the last time you printed it.
Static strTime As String
lblContinued.Visible = (time = strTime)
'lblContinued.Visible = True
' Store away the current time.
strTime = time
End Sub