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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I get page headers in a subreport?

Subreports

How do I get page headers in a subreport?

by  hilfy  Posted    (Edited  )
There is no page header section available in a subreport. However, you can fake a page header if you've got at least one group in the subreport.

Create your "page" header in the first header for the first group. In the suppression formula for that section, put the following:
(pagenumber = 1 and not previousisnull({some key field}))
or (pagenumber > 1 and not InRepeatedGroupHeader)

You need to be sure that "keep together" is turned on for the group. If it's not, you will not get the "page" header when a group breaks at the end of a page.
Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top