Need help with HasContinued property

Rod C

Registered User.
Local time
Today, 01:15
Joined
Dec 19, 2001
Messages
41
I searched the history and read all the posts on this subject but still don’t get it. I want to make visible a label with “continued” in it if my group spans more than one page. Where do I put the code to test if HasContinued is true or false so that it will change the visible property?
 
Reply, thanks

Thank you very much, I used the second method and after a little manipulation got it to work. Thanks again.
 
HasContinued and WillContinue

THought I'd share: I just learned of the WillContinue function that solved a similar problem I was having. I wanted no page header on the first page of a new DETAIL section (vs GROUP sections), as each detail is a multi-page report on a patient.

Was able to do a clean solution for my problem by using the following code:

Code:
Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer)
    
    If Section(0).WillContinue = True Then   'Section(0) is the DETAIL group
        PageHeaderSection.Visible = True
    Else
        PageHeaderSection.Visible = False
    End If

End Sub

Thus, on every page it intelligently decides whether the next page will need a page header!
 

Users who are viewing this thread

Back
Top Bottom