B
bw
I got this code from someplace (don't remember where).
Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer)
Me![ContinuedFrom].Visible = Me.Section(0).WillContinue
Me![ContinuedON].Visible = Me.Section(0).WillContinue
End Sub
This is printing the ContinuedON message on what should be an unrelated previous
page, and the ContinuedFrom message on what should be the first page.
In other words, the report looks like this, if there were three pages:
Unrelated Page has ContinuedON message
1st page to have a related 2nd page has the ContinuedFrom message
Continuation page has no message.
I'm assuming the problem is with the "PrintCount", put I don't know how to use PrintCount
in this example.
Can someone explain?
Thanks,
Bernie
Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer)
Me![ContinuedFrom].Visible = Me.Section(0).WillContinue
Me![ContinuedON].Visible = Me.Section(0).WillContinue
End Sub
This is printing the ContinuedON message on what should be an unrelated previous
page, and the ContinuedFrom message on what should be the first page.
In other words, the report looks like this, if there were three pages:
Unrelated Page has ContinuedON message
1st page to have a related 2nd page has the ContinuedFrom message
Continuation page has no message.
I'm assuming the problem is with the "PrintCount", put I don't know how to use PrintCount
in this example.
Can someone explain?
Thanks,
Bernie