• Page Header

    Author
    Topic
    #466940

    A report(ReportA) have a chart under page header in Access 2003 db. Now I want to add another report as subreport(subreportB) in the ReportA. How I can I make the page header of ReportA invisible when page displays subreportB.

    I have tried simply using a 3rd report, and place each of your two reports into THAT report as subreports? But the chart under page header in ReportA won’t display.

    Thanks in advance.

    Viewing 1 reply thread
    Author
    Replies
    • #1210953

      Page headers in subreports do not display in the main report. One option you might consider is to set the property of the chart to invisible, and then change it to visible if the subreport (ReportB) has no data – that is one of the code events that will fire for a subreport.

      • #1211127

        Page headers in subreports do not display in the main report. One option you might consider is to set the property of the chart to invisible, and then change it to visible if the subreport (ReportB) has no data – that is one of the code events that will fire for a subreport.

        Thanks. The simply question to address my issue is: Is there a way to make a page header apply to a report without applying it to the third, six, nine page of the report?

    • #1211138

      Page headers (unfortunately I guess in this case) apply to every page in a report. There is no way that I know of to have it print only on selected pages. You might be able to achieve what you are trying to do with Group Headers, but we would need a fair bit of detail about your situation to be able to determine whether that would work. Is it absolutely necessary that your chart be in the page header? Moving it to the detail section or to the report header might work…

      • #1211163

        Page headers (unfortunately I guess in this case) apply to every page in a report. There is no way that I know of to have it print only on selected pages. You might be able to achieve what you are trying to do with Group Headers, but we would need a fair bit of detail about your situation to be able to determine whether that would work. Is it absolutely necessary that your chart be in the page header? Moving it to the detail section or to the report header might work…

        Thanks. Just find the solution for my case. I have added the following codes under “On Format” event of PageHeaderSection:

        If Me.Page = 3 or Me. Page = 6 then
        Me.PageHeaderSection.Visible = False
        Else
        Me. PageHeaderSection.Visible = True
        End If

        One more questions, what codes should I add to make Me.page = “auto increase three pages”

    Viewing 1 reply thread
    Reply To: Page Header

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: