Skip to Content
author's profile photo Former Member
Former Member

Suppress Page Numbers in Sub Report

Post Author: karenb

CA Forum: General

How do I suppress page numbers from a sub report that is located in the report footer of my main report? I am using CR 9

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

7 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 29, 2008 at 09:02 PM

    Post Author: kcheeb

    CA Forum: General

    You can either hide or remove the page number from the report or subreport.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 29, 2008 at 10:38 PM

    Post Author: karenb

    CA Forum: General

    The page numbers are on the main report, and needed there. The problem is, with the sub report in the footer, the page numbers continue to show. how do I know that page contains the sub report?

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 29, 2008 at 10:46 PM

    Post Author: kcheeb

    CA Forum: General

    I'm not sure I understand what you're trying to accomplish. It sounds like the subreport being in the footer is causing the page numbers to print incorrectly?

    Can you tell me the page number behaviour you want when

    1. There is a subreport present

    2. There is no subreport present

    Thanks

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2008 at 01:13 PM

    Post Author: karenb

    CA Forum: General

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2008 at 01:13 PM

    Post Author: karenb

    CA Forum: General

    The subreport is in the report footer. It's actually an addendum to a lease agreement. There are page numbers on the main report (Page N of M). When the subreport prints, I don't want the page numbers on those pages, but because it's part of the main report, the page numbers continue to appear. If there is no subreport, no page prints so there are no page numbers. I don't want page numbers to print at all on the subreport pages, but continue to print on the main report.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2008 at 03:35 PM

    Post Author: kcheeb

    CA Forum: General

    If there are no pages after the subreport in the report footer, this might work.

    Overlap the subreport on the Page N of M. When there is a report, it should cover the page numbers. When there isn't, the page numbers should show.

    Bit of a cludge, but it might work.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 08, 2008 at 03:16 PM

    Post Author: noodles

    CA Forum: General

    You should be able to use conditional suppression on the pagenumber field. right-click on the field and on the common tab click on the "X+2" button to the right of "Suppress". You can then just enter a formula to suppress the field at certain times. For example, if your lease agreement is always 5 pages long, you can enter "pagenumber > 5". That will have the report print the page number on the first 5 pages, and then suppress it from then on. You'll just need a little more involved suppression formula if your lease agreement isn't that static (e.g. its not always 5 pages).

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.