Suppress page header when printing sub reports

Post Author: GSchmidt
CA Forum: General
I am looking for information on how to suppress the page header on the main report when a certain subreport(s) are printed within group footers.

Post Author: Charliy
CA Forum: General
Set a Shared Variable in the Report Header of your subreport.  PrintFoot := "NO"
Check it in the Print Suppress formula of the Page Footer of your main report
Reset in the the Report Footer of the subreport. PrintFoot := "YES"
You'll als have to initially set it to the "okay to print" value in the Report Header of the main report just to get started.

Similar Messages

  • How to suppress page header when group footer prints

    I would like to suppress the page header on my report when a group footer prints.  My group footer is going to be a bunch of legal mumbo jumbo and I'm going to have it do a page break before so it prints on it's own page.  I do not want my page header info printing on this page.
    Is there a way to do this?  I am on Crystal XI.  Thank you in advance.

    I haven't tested this, but...
    Formula @InGroupHeader:
    WhilePrintingRecords;
    BooleanVar InGroupFooter;
    InGroupFooter = False;
    Formula @InGroupFooter:
    WhilePrintingRecords;
    BooleanVar InGroupFooter;
    InGroupFooter = True;
    PageHeader.Suppress:
    WhilePrintingRecords;
    BooleanVar InGroupFooter;
    InGroupFooter;
    Edit: I think I like Graham's solution better, actually.
    Edited by: Garrett Fitzgerald on Jun 15, 2009 12:12 PM

  • How to suppress page header when rendering particular group footer

    Description:  I am using Crystal Reports 2008.  I have a report with a page header, and several groupings.  The groups all suppress their headers, but have footers.  The grouping is in the order:  type,county,city,status,parent.  The first 3 footers force a new page before the footer.  The county footer includes summaries and charts.
    Problem:  The client wants the header displayed for the detail and the header for the county footer to be different.  How can I make this happen?
    More Info:  I currently have just a page header.  I have tried messing with the suppress formula for the page header, but I cannot figure out the correct formula to use to suppress the page header on a county footer page.  Is there a way to do this, or is there a completely different approach I should be taking to solve this? 
    I can provide more info if needed.
    Google search was unhelpful in solving this problem.  This problem is driving me nuts.  Any help appreciated.
    Thanks,
    Michael

    What i would suggest is to create a new variable in WhilePrintingRecords evaluation time. For example:
    1. Boolean variable set to TRUE in Group Footer #2 (County)
    2. Reset it to FALSE in Group Header #2 and Group Footer#1
    3. Use the variable for conditional suppression

  • Crystal 6.0 : How to hide the Page footer and Page Header of the Main Report on the Sub report.

    Post Author: pranay
    CA Forum: Crystal Reports
    Hi ,
    I have a Main report and a Sub report .  When a subreport spans across multiple pages , the page header and page footer of the main report gets displayed along with it . I want to hide the Page Footer and Page Header of the main report when a sub report is displayed . Is there any way it could be acheived in Crystal Report 6.0.

    I am assuming you are talking about the JSControl dropdown menu navigation. The easiest way to hide Community pages is to disable the Below Banner View for that navigation scheme, although it also disables the Subcommunties, Related Communities and Go up to Parent Community links. If you still want these in below the banner menu you could not display Community Pages in the "In this Community" tab and only leave the "Community Members and Knowledge Directly" link in there.
    You would think that it would be better to remove the "In this Community" tab althogether but it is tricky to remove it due to the fact that there needs to be a default horizontal menu displayed all the time. Not all Communities will have a Subcommunities or Related Communities tab so these communities would not display any below banner menus at all if there is no "In this Community" tab, which could be confusing.

  • Is it possible to suppress the Page Header of the Main Report based on the Section Name?

    Hi,
    I am fairly new to Crystal Reports XI.  Is it possible to suppress the Page Header of the Main Report based on the Section Name?  Thanks.

    In the section expert you can enter a formula on the suppress function.
    You just need something to check against if it is section name you say
    {section name} ="Suppressme"
    I have used it more in drill level to display headers based on how far you have drilled into a report.
    Hope this helps
    Eric
    Via Christi Health System

  • Missing page header when exporting a Numbers sheet to PDF??

    I am running OS X 10.8.5 and Numbers 09 Version 2.3, all on a 2009 MBP.
    I created a simple table and have a page header (title, etc).
    When I print this file directly from Numbers to the printer, everything is okay.
    But when I export the file to PDF and print the PDF, the header is gone.
    Any thoughts?

    I have done some addtional problem solving. I now have the issue isolated to the export function. It does not export the page header when exporting to PDF. It does do it when exporting to file type - post script.
    Interesting.
    Anybody got something to add here?

  • Printing Page Numbers With A Sub Report

    Hi, I have a Crystal Report (XI) that includes a subreport which is identical to the main report because I am actually making the report print 2 copies of the same report with different critera in the detail section only. On the main report I have a Page Header section which I am using the special field "PAGE N of M", so on all pages of the report it is printing this page number. I  My issue is listed below:
    First page of report                    "Fred's Place"                 Page 1 of  2 (Correct)
    Second page of report              "Fred's Place"                 Page 2 of  2 (Correct)
    Third page of report                   "Fred's Place"                 Page 3 of  2 (Not Correct)
    Fourth  page of report                "Fred's Place"                 Page 4 of  2 (Not Correct)
    The first/second page are printing correctly with data being pulled from the main report, but the third/fourth pages are not printing correctly with data pulled from the sub report. My question is how to get the third/fourth pages to print as follows:
    Third page of report                   "Fred's Place"                 Page 1 of  2 (Correct)
    Fourth  page of report                "Fred's Place"                 Page 2 of  2 (Correct)
    Thanks for your help
    Jim Dyer

    Jim,
    Try passing the total page count from the main report to the subreport via a shared variable. Then set up a counter formula in the fake PH of the subreport and convert the counter and the shared variable so that it reads page 1(counter) of 2(shared variable)
    You should also be able to suppress the extra pagenofms in the main report when pagenumber > totalpagecount

  • How to Avoid Printing the data twice when the sub report has drill down?

    Hello,
    I have a sub report that has drill down which is placed in report footer.When i run the report sub report displays the data but when i tried to drill down it displays the same data again.After that i can able to drill down on sub report.Is there any way to avoid
    printing the same data twice.
    Thanks in advance.

    Hi,
    If the subreport you're referring to does not grow in size and it does not span multiple pages and you know the size of it, here's what you can do to stop drilling into subreports :
    1) Create a text object as large as the subreport (perhaps bigger than it) and fill it with spaces or new lines
    2) Place it 'over' the subreport such that it covers the entire area occupied by the subreport
    3) The subreport at all times should be smaller than the text object in all dimensions
    Now, when you hover the mouse over the subreport, there isn't any magnifying glass for you to drill down into.
    If the subreport has further drill-down functionality, then this isn't for you! Because, it just wouldn't allow you click on any objects in the subreport because of the text object eclipsing it. This is the only workaround I know at this point in time and I know a lot of users are looking for this.
    I would suggest that you log this as an Enhancement Request at http://ideas.sap.com for our developers to have a look into this.
    And finally, I also found an old forum post where Jamie has suggested a way to get this working on the Business Objects Environment. Give it a shot, if that's where the reports are eventually run.
    How to disable subreport view
    Hope this helps!
    -Abhilash

  • To display subreport page header when included in the main report

    Hi, 
    I am designing  a  report  using SSRS 2005.The main report has a few subreports.Each subreport has header which serve as page and table header for the report content.When the subreport is run individually there is no problem where header is
    getting displayed for each page  but when main report is executed only subreport body content is displayed.Can someone please suggest if there is any workaround for displaying sub report header
    My subreport looks as shown in the image below.

    Place your Header contents at top of the body and footer contents at bottom of the body. Remove Header and footer from your subreport.
    Aftab Ansari

  • Back arrow does not work with SQL Server Reporting Services Reports. When one pages back from a sub report the back action appears to skip moving to the previous step. IE 8 works fine?

    I have a SSRS report that has a parameter driven drop down list to select a catagory for a report to run a summary for the category in Report Manager. When the report runs there are links to a sub report with more detailed information about the category summary. Firefox runs everything correctly up to this point.
    When I try to back arrow from the sub report Firefox skips the summary report page and reverts to the initial page where the sub category can be selected to run the summary report.
    Can you help? IE8 works well with this but has severe spped issues with reports that contain multiple selection parameters. Firefox handles the multiple parameters very fast but has the page back issue.

    I have a SSRS report that has a parameter driven drop down list to select a catagory for a report to run a summary for the category in Report Manager. When the report runs there are links to a sub report with more detailed information about the category summary. Firefox runs everything correctly up to this point.
    When I try to back arrow from the sub report Firefox skips the summary report page and reverts to the initial page where the sub category can be selected to run the summary report.
    Can you help? IE8 works well with this but has severe spped issues with reports that contain multiple selection parameters. Firefox handles the multiple parameters very fast but has the page back issue.

  • Page break not applying when using sub report inside main report

    I have a main report inside which there is subreport (using SQL Server 2012). I placed some page breaks inside subreport but they were not working. I read on technet forums that this is a a known issue with SSRS. 
    One solution I found is to put a table inside main report, then in first row add a rectangle and set its property "Add a page break after" and then add subreport after this rectangle in that table in main report. I did that and now in some cases
    it does show sub report on a separate page but sometimes it shows subreport on same page.
    Could it be because in some case sub report has no or less data (hence it cannot cover whole page) and in that case it will always show on one page? How can I show empty subreport on a separate page?

    I fixed it by clicking both "Add a page break before" and "Add a page break after" in rectangle.

  • Conditional Suppression Page Header

    My report contains one subreport placed in RFb. The data in the subreport is unrelated to the data in the primary report, so each report requires its own set of column headers. When printed, the subreport requires at least several page. Subreports have no page header section. In my subreport the column headers are placed in the RH section of the subreport, but these headers do not show up after the first page of the subreport. In addition, the headers in the primary report appear in the subreport, though they are inappropriate.
    To workaround this problem I placed the primary report headers into PHa and the subreport headers into PHb, both in the Primary report. I want to use conditional formatting (suppression) to control the appearance of these headers WhilePrintingRecords.
    The objective is to suppress PHb until the SECOND page of the subreport. (The subreport has a title page, so that MUST be the first section on page 1 of the subreport). PHa is suppressed AFTER the primary report is done. The last section in the primary report is RFa (or is it? See below).
    Using Basic syntax I placed the following formula into RFa of the Primary report.
    'Determine last page of Primary report.
    WhilePrintingRecords
    Global nLastPgSec1 As Number
    nLastPgSec1 = PageNumber
    Formula = nLastPgSec1
    However, I have found that the value of nLastPgSec1 increments by one as each page of the subreport is printed. The only way this can occur is if RFa of the primary report is evaluated with each page, even though the subreport is placed in RFb.
    I know this is probably difficult to follow without a visual of the design.
    Can anyone tell me how to control the conditional formatting to accomplish what I need?
    Thanks,
    Art

    After a night's sleep I saw my problem. The solution was to set the value of nLastPgSec1 by placing it in the DETAILS section of the primary report (not a report footer). The formula is:
    WhilePrintingRecords
    Global nLastPgSec1 As Number
    If OnLastRecord Then
       nLastPgSec1 = PageNumber
    End If
    Formula = nLastPgSec1
    Art

  • How to realize page numbers when printing from an ALV-Grid

    Dear ABAPers,
    with resprect to SAP note 402627 ALV-Grids in 4.6-Systems
    do not produce a header with Actual date, report title
    and page number as it does from release 610 on.
    I've spent almost the entire day on searching the SDN
    for an answer on how I could produce a page numbering.
    I've also tried quite a lot, for example by using the
    END_OF_PAGE event, but nothing worked.
    I'm using the FM REUSE_ALV_GRID_DISPLAY, but even an SAP
    sample report BCALV_GRID_01, which is supposed to
    demonstrate the object-oriented use of the several
    PRINT-events does not process PRINT_END_OF_PAGE in our
    4.6C-System.
    Is my search in vain or does anybody have experience
    with those kinds of problems under 4.6x ?
    Thanks in advance
    Andreas Flügel

    I think you should be able to use PRINT_END_OF_PAGE event for the same. That should work. Use SY-PAGNO variable to print the page no in this event.
    You will have to register this event and set the handler for the same.
    Did you try this?
    Regards,
    Ravi

  • How to prevent Dreamweaver CC from adding bogus page header when pasting text

    It seems like suddenly with the CC version of Dreamweaver, when you copy-paste content from MS Word, Dreamweaver adds a new bogus page header, like this:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
      <HTML>
      <!--                     @page { margin: 0.79in }                     P { margin-bottom: 0.08in }           -->
      <BODY DIR="LTR">
    <p> The pasted text</p>
    Can this behavior be suppressed? I have the same copy/paste settings that I used in CS5- Text and structure with basic formatting. I don't see why this needs to happen.
    I am using Dreamweaver CC on Mac.

    You're injecting  junk formatting code from MS Word into your HTML.  The best way to avoid this is to use Edit > Paste Special > Text only.  Or copy & paste your MS Word content into a plain text editor (Text Wrangler) before you paste it into DW.
    Nancy O.

  • Keeping Groups and their Details together when printing a report

    So I created my Groups...[Claim #], [Rec #], [Line #], and [Service_Date] and set the Group Properties Page Break and checked
    Between each instance of a group. I also made the
    Keep Together property to True for all my Row groups and details then.
    When I run in Preview it looks PERFECT!. Then when I actually go to print the report, the grouping is printing on one page and the details on the following page. This is unacceptable.
    Then I Googled and found this...
    https://connect.microsoft.com/SQLServer/feedback/details/428595/keep-together-property-not-working-in-ssrs-2008
    Which makes it seems as though the Keep Together Property has a bug. Unless the
    Keep Together implies in Report Design View. But it does say
    KeepTogther Indicates whether to keep all sections of the data region together on one page. Yeah...but "page" meaning viewable page or printable page...
    I also found this work around which I really don't understand as to what I'm supposed to do.
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/692d85d3-87fe-483f-8267-98213795ef1e/third-major-flaw-with-reporting-services?forum=sqlreportingservices
    Has anyone else experienced this issue? Is this still a problem in SSRS? And can anyone please help me with the work around?
    Thanks in advance and am hopeful for a reply.
    ITBobbyP85

    Hi ITBobbyP,
    According to your description, you have Groups [Claim #], [Rec #], [Line #], and [Service_Date] in the report, and added Page Break to the groups. The report looks normal when you preview it, but when you go to print the report, the groups displayed on one
    page and the details on the following page.
    Based on my knowledge, the issue is due to report size. Page orientation of report is Portrait(8.5in X 11in). If the width of tablix is larger than report page, the groups and details will be displayed on different pages. In this case, we need to change
    paper size to a certain value, please refer to the following steps:
    Right-click outside of the report body and click Report Properties.
    In Page Setup, select a value from the Paper Size list. Each option populates the Width and Height properties. You can also specify a custom size by typing numeric values in the Width and Height boxes. Click OK.
    For more information about setting page size, please refer to the following document:
    https://community.dynamics.com/crm/b/magnetismsolutionscrmblog/archive/2013/10/30/ssrs-using-page-size-and-interactive-size-to-manage-printing.aspx
    If you have any questions, please feel free to let me know.
    Best Regards,
    Wendy Fu

Maybe you are looking for

  • Refund for a removed app?

    Hello everyone, this is my first discussion thread here. Itroductions later, can you get a refund for a removed app that you bought? I recently purchased a app by the name of xRec that was removed from the app Store today, one minute it was there nex

  • Maximum Conditions in a Filter

    I have a user that is unable to update their security group membership filter because SQL is saying the query is too deep. The filter looks like: Any of the following All of the following   - some condition   - some condition   - some condition All o

  • Need help in applet

    Hi all, I am newbie in java applet programming, I have write a source code that have 3 button in applet. (Booking, schedule and verify) I want to make when the user press the button it will call the other java class that contain the interface off boo

  • Additional Rendering Intent?

    Bravo for the Soft Proofing! I really would like the addition of the rendering intent "Absolute Colorific" in the Print Module. Last year when I had my Photoraphy Exhibition, printed on my Epson 3800, over half of my nature photos used Absolute Color

  • Why won't iTunes continue to the next track in an album?

    Hello. After recently updating to iTunes 5.2 on my primary computer (a 1.5 GHz. 15-inch PowerBook G4 running Mac OS X 10.5.8 (Leopard)), iTunes will not continue to the next song in an album once a song is finished. In "Album" view, for instance, if