dawn Master Poster
Joined: 26 Jun 2004 Posts: 311 Location: Mishawaka, IN
|
Posted: Fri Oct 17, 2008 1:12 pm Post subject: Has Continued Property |
|
|
The Has Continued property is difficult to work with. However, I have had good success using it from the Section Print Event on the next page.
Code: |
Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer)
If Me.Section(acDetail).HasContinued = True Then
Me.CurrentX = 10
Me.CurrentY = Me.Height / 2
Me.Print "....continued from previous page"
End If
End Sub |
That would print the message in the current Detail Section. You probably
want it up in the Page Header. Just set CurrentY and CurrentX to
coordinates to match whatever section you want to print it in.
The opther option is to set a Global Flag back in the section as you see
it is going to become a WillContinue section and overflow to the next
page.
In Access 97, any section that is going to become a
WillContinue(d)Section will be exactly 5 Twips shorter than the Control
that is causing the CanGrow to continue on to the next page. _________________ Dawn Mitchell
Manufacturing Information Solutions
www.mis-group.com |
|