Re: Page Header Missing from subreport

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Ross wrote:

>The Page header displays when the sub report is run alone (outside the main
>report) but it does not display when it is opened in the main report. Why is
>this? How can I get the page header to display in the main report also.


Subreport's do not process Page header/footer sections nor
do they trigger the Page event.

A way to simulate a page header in a subreport is to create
a top level group header (View menu - Sorting and Grouping)
using a constant expression such as =1. Set the header's
RepeatSection property to Yes and away you go.

--
Marsh
MVP [MS Access]
.



Relevant Pages

  • Re: Visible = True Vs Visble = False
    ... Customer doesn't like using the Single Header lines. ... similiar to an Excel spreadsheet, but only to display the FunctionOrder, ... attribute will only hide the duplicates on a single page of the report. ... If Me.Function.OldValue strrptRIAFunction Then ...
    (microsoft.public.access.modulesdaovba)
  • Re: Report Problem
    ... create a Problem header and place the ... check Allen Browne's report tips. ... >>> particular customer. ... I want to display the problem once and all the ...
    (microsoft.public.access.reports)
  • Re: Reset Page of Pages in Multipage reports
    ... which is the Report Number in the header - reports ... Dim GrpNameCurrent As Variant, GrpNamePrevious As Variant ... Dim GrpPage As Integer, GrpPages As Integer ...
    (microsoft.public.access.reports)
  • RE: Weird Problem with a Subreport
    ... If you don't want to show the header on the first group, ... Open the report in design view. ... I have a header of shutdown in front of the whole list but the two lists ... The Subreport will only show as many rows as will fit in the area I delegated ...
    (microsoft.public.access.reports)
  • Re: Report with Sub-Report with NO-DATA on Sub-Report
    ... held in the header/footer of the report. ... primary header ... detail section followed by the subreport. ...
    (microsoft.public.access.reports)