Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Continue Group Header on second page 1

Status
Not open for further replies.

jazminecat

Programmer
Jun 2, 2003
289
US
Hi, I have a multipage report with the following headers:

page Header
Name Header
Detail
PPED footer which has sums
Page Footer
and report footer

I am sorting and grouping on each name value, but keep together is no - it would use way too much paper.
I also am grouping on PPED, no header but a footer, keep together is no.

i need to have the name and
'continued" show up when then detail carried over to the next page. I tried something I found in an older thread, and as you can see I tried it in a few places, to no avail. Here's what my code looks like:

Code:
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
 If Me.Section("Detail").WillContinue = True Then
        Me.txtContd.Visible = True
    Else
        Me.txtContd.Visible = False
    End If
End Sub

Private Sub GroupHeader0_Format(Cancel As Integer, FormatCount As Integer)
 If Me.Section("Detail").WillContinue = True Then
        Me.txtContd.Visible = True
    Else
        Me.txtContd.Visible = False
    End If
End Sub

Private Sub PageHeaderSection_Format(Cancel As Integer, FormatCount As Integer)
    If Me.Section("Detail").WillContinue = True Then
        Me.txtContd.Visible = True
    Else
        Me.txtContd.Visible = False
    End If
End Sub

Thanks in advance!





 
In the properties box of the group header, go to the format tab, and change "Repeat Section" to "yes
 
Thanks. that worked! sorry to take so long - have a star!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top