Page & Group Header

R

Roger Bell

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
 
G

Geoff

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
 
M

Marshall Barton

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top