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

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

  • 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.

  • 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?

  • 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.

  • 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

  • Incorrect page orientation when rendering EPS to PDF

    Hi,
    Using Adobe Pro 9 (tried with Adobe Pro 7 as well) trial version to convert EPS files to PDF. Was able to convert to PDF with no errors. We noticed that some of the pages within the generated PDF are oriented side ways, pages that need to be oriented portrait are rendered in landscape mode. Other pages are oriented in landscape mode which is the correct way.
    I tried setting the distiller settings within 'General panel' options and setting the "Auto-Rotate pages" to be OFF. Now, the pages that are oriented side ways are now in Portrait mode, however, the other pages are being rendered orienting sideways. The same EPS file was tested on a Unix machine using a PS to PDF converter and none of the pages are oriented incorrectly.
    Question is, how to set the Adobe Pro so that it retains the "original" orientation settings of that of EPS data. Quick help would be greatly appreciated. Thanks very much.

    I typically use auto rotate. Auto rotate make the rotation based on the orientation of the text on the page. If it turns out wrong, I simply edit the file and use Document>Rotate Pages to rotate the problem pages as needed. Then use Save As to store the PDF. For a few pages this is probably the simplest approach. If you need more, you may want to check the manual about the rotate options at the time of creation.

  • How to display group data only when the particular group is clicked

    Hi frnds,
    I want to design my report as follows:
    Data is grouped by country, and for each country it is showing details for that country. I need to find out a way to display all group names first.  E.g.
    Argentina
    Aruba
    Australia
    And on click of particular country name it should display its details below it
    e.g.
    -Argentina
         BBB            Mendoza          123456
    +Aruba
    +Australia
    Has anyone done that before??? Is it possible to achieve it through Crystal Report Designer (2008)?? If yes then how???
    A prompt reply would be appriciated as i need this information urgently.
    Thanx.

    Thanx Jehanzeb,
    The sample u suggested did not solve my problem since it is opening the group data in new window.
    My question is - can we show/hide group data by clicking on that particular group (under that group name).
    e.g.
    ->(initial display - only groups)
    + Australia
    + America
    + Bhutan
    ->(on clicking a group)
    + Australia
    \- America
    abc    xyx    12213213    wqe9090
    dsd    dcv     90eur90e    ifjjdioifdoi
    + Bhutan
    In short, I am looking for on-demand display of records grouped by some field and the expansion of data must be done in the same page.
    Edited by: Kuldeep Chitrakar on Aug 6, 2008 12:44 PM
    Edited by: Kuldeep Chitrakar on Aug 6, 2008 12:45 PM
    Edited by: Kuldeep Chitrakar on Aug 6, 2008 12:46 PM

  • How to change page header in mode_show_help?

    How can I change the page header on the page that gets opened by calling mode_show_help? I'd like to have the help pages maintain the consistancy of the look of the portal.
    thanks,
    adam

    Hi Anuj,
    The business service and proxy are not http transport based, they are jca transport based. So default is UTF-8.
    And more over they are updating the response which they got from the previous osb service using osb service 2. This is the case. Front end team using java to code their applications.
    Service1 Output: Jca transport
    <OutputParameters xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/BGN/KBGN_API_WEB_PORTAL/PBGN_SEARCH_ADDRESS/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <P_NM_STREET_TYPE>Área Especial</P_NM_STREET_TYPE>
    <P_NM_STREET>
    Rodovia DF-001 (Gama ao Recanto das Emas)
    </P_NM_STREET>
    <P_DE_COMPLEMENT>CAUB I</P_DE_COMPLEMENT>
    <P_NM_DISTRICT xsi:nil="true"/>
    <P_NM_LOCALITY>Gama</P_NM_LOCALITY>
    <P_CD_STATE>
    DF
    </P_CD_STATE>
    <P_RETORNO>E0000</P_RETORNO>
    <P_MENSAGEM xsi:nil="true"/>
    </OutputParameters>
    They get these values using java code and update these using service2 that also a jca transport based. The problem is in updating these values.

  • 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

  • How to populate page parameter when 600 entities

    I cant really use omniportlet to populate a
    page paremeter when I have 600 different physicians.
    All 600 show up when I try to use OmniPortlet.
    Using Customization is not acceptable to our company.
    Can anybody help me populate my page parameter
    programatically.
    Maybe I should refresh page and pass parameter.
    WOuld need help doing this anyways.
    Roger

    I want to make sure we are talking about the same thing:
    After you add the portlet to the page, you go to the page properties, then the parameters tab, then there is a section at the bottom called "Portlet Parameter Values" where you can click and expand your portlet to see your portlet parameters.
    Is it here where your parameters just don't show up?
    If it is, try the following:
    - Add the portlet to another page and see if it still behaves the same.
    - Mark the parameters in the portlet as being non-public, re-generate portlet (on manage tab), then mark them as being public, re-generate and then try the above again (add to another page).

  • Ssrs to display Page header as per the group

    Hi All;
    I have a DataSet.
    I had group the table
    Used Page breaks so that the data gets dispalyed as per the parent group
    I need to display the Page header as well as per teh parent group
    Is this possible?
    Any help much appreciated
    Thanks
    Pradnya07

    Hi Simran08,
    According to your description, you added group to the table and added page break to the group. You want to show page header according to group.
    In Reporting Services, we can use ReportItems to refer to the value of the report design surface in corresponding textbox. For example, if you want to show the group name in each page header dynamically, we can refer to the following steps:
    Right-click anywhere of page header, click Insert, then click Text Box.
    Right-click the text box, and click Expression.
    In the expression text box, type the code like below:
    =ReportItems!name.Value
    The following screenshots are for your reference:
    Reference:
    ReportItems Collection References (Report Builder and SSRS)
    If you have any more questions, please feel free to ask.
    Best Regards,
    Wendy Fu

  • How to add page event on the every pdf  footer

    How to add page event on the every pdf footer

    there is an option available in third party tool which you are using for create PDF using java. so read API documentation. if you can also extend/customize any feature using java

  • How do I keep together items in a group footer?

    I have a report that has a line of detail, followed by a subreport, and then another subreport all in the group footer.  The report is also formatted to be displayed in two columns.  The problem I am having is that even with the keep together checkbox selected in the group footer, often times the line of detail and the first subreport are displayed and the second subreport is shown in the second column.  They need to all move to the second column if there is not enough room in the first column for everything to be displayed.  Any ideas on how to accomplish this?
    For example:
    Information               Subreport2
    Subreport1               Information      
    Subreport2               Subreport1
    Information               Subreport2
    Subreport1
    When what I want is:
    Information               Information
    Subreport1               Subreport1
    Subreport2               Subreport2
    Information
    Subreport1
    Subreport2
    Or:
    Information               Information
    Subreport1               Subreport1
    Subreport2               Subreport2
                                     Information
                                     Subreport1
                                     Subreport2

    Hi,
    You can place the all fields in Group Footer #3
    Try to do it abhilash suggestion for Group3..
    Please go to the Group Expert > highlight the group field > options > options tab > check the 'keep group together' option.
    Please update the status
    Thanks,
    DJ

  • How to Suppress Report Total When Using Sum on Columns & Break Formatting

    I need to know how to NOT show the report total line when using the sum functionality with a break in a report.
    I am summing two columns, a debit amount and credit amount. I am breaking on the first column which is the level of a hierarchical query. I want to see something like this:
    Parent Record xxxxxxxxxxxxxx
    Parent Sum $$ $$
    Child Record xxxxxxxxxxxxxx
    Child Record xxxxxxxxxxxxxx
    Child Sum $$ $$
    However, when I run the report, I also get a report total line under the child sum which is really meaningless for this report.
    I have also tried creating this report as an interactive report. When applying the sum on the two columns, I do get the sum totals on the break only - no report total - however, it is reversing the order of the hierarchical query results putting the child records first and the parent records second.
    Thanks in advance for your help.

    Hi, and welcome!
    I don't think that there's an easy way to "switch off" the Total line on a report. The nearest I could suggest would be to either hide the entire row or colour the text so that it's the same as the background - either way, the total is calculated but the user won't see it.
    If you put something like the following into your report region's Region Footer:
    &lt;script type="text/javascript"&gt;
    var outertable = document.getElementById("#REGION_ID#");
    var innertable = outertable.getElementsByTagName("TABLE")[1];
    var rs = innertable.rows;
    var lastrow = rs[rs.length-1];
    if (lastrow.cells[0].innerHTML == '&lt;b&gt;TOTAL&lt;/b&gt;')
    rs[rs.length - 1].style.display = "none";
    &lt;/script&gt;Then, on your report's Report Attributes page, scroll down to the Break Formatting section and put TOTAL into the "Display this text when printing report sums" setting. Also, in the "Layout and Pagination" section, set "Enable Partial Page Refresh" to No.
    The above code is based on the report and region templates that I'm using here: [http://apex.oracle.com/pls/otn/f?p=267:147] (Theme 18, "Report Region" region template and "Standard" report template). Your report may use different templates, so the first two lines on the code may have to change. #REGION_ID# would be replaced with the region's ID value (which would be "R" followed by a long number). As long as you can identify the HTML tag that uses this ID value, you can then get to the actual table that contains the data as it would be a TABLE within that tag - the [1] above is the second table within the region. In some instances, you may have to use "region_#REGION_ID#" as the starting point.
    Andy

Maybe you are looking for