Manufacturing Information Solutions Forum Index Manufacturing Information Solutions
Your Place for Support and Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Has Continued Property

 
Post new topic   Reply to topic    Manufacturing Information Solutions Forum Index -> Microsoft Access
View previous topic :: View next topic  
Author Message
dawn
Master Poster


Joined: 26 Jun 2004
Posts: 311
Location: Mishawaka, IN

PostPosted: Fri Oct 17, 2008 1:12 pm    Post subject: Has Continued Property Reply with quote

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
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Manufacturing Information Solutions Forum Index -> Microsoft Access All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group