Page & Group Header

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have designed a report with a Page and Group Header which are the same. It
works fine, except the Heading appears twice under each other on the first
page, for obvious reasons. Is there any way I can prevent this heading
appearing twice?

Thanks for any help
 
You could suppress the page header by cancelling its Format event on page 1
as follows:

Private Sub PageHeaderSection_Format(Cancel As Integer, FormatCount As
Integer)
If Me.Page = 1 Then
Cancel = True
End If
End Sub

Regards
Geoff
 
Roger said:
I have designed a report with a Page and Group Header which are the same. It
works fine, except the Heading appears twice under each other on the first
page, for obvious reasons. Is there any way I can prevent this heading
appearing twice?

Have you tried doing away with the page header and setting
the group header's Repeat Section property to Yes instead?
If you did, what about it failed to meet your needs?
 
Back
Top