Alternate color in group footer

Hi
i am using following formula to apply alternate color in detail section, section expert, color, background color-
if Remainder(recordnumber,2)=0 then RGB(223,223,223) else RGB(255,252,255)
but if i apply same formula to group footer section it's not working.
how to apply alternate color in records of group footer section?
Please give me solution.
Thank you

Hi,
Add
while printing records;
Above the  formula and try to run it.
Regards,
Neo.

Similar Messages

  • Alternate color in Row footer

    alternate color not applied in Table footer.
    Can any one let me know how to acheive this?

    Hi,
    You can use a normal alerter for this.
    A manual alerter can use a formula like Even(LineNumber()) to give a shading or not...
    Then again, don't you want the footers to stand out from the body of the table?
    Hope this helps,
    Marianne

  • Have a gap in detail of first page and not display group footer on each pag

    Please help me about Memo field in SubReport in CrystalReportXI. I have a SubReport that need to display pageheader, detail, page footer, and  in detail of subreport contains memo field and set the property of this text box to "Can Grow" = Yes .However, CrystalReportX does not support to display  pageheader, pagefooter in SubReport. So. I have created a formular FakePageHeader that has code  as
    "WhileReadingRecords;
    true"
    and group in this field and checked option repeat group header on each page and right click Section Expert->check print at Bottom of page for Group Footer.
    This problem is when I preview Subreport. It display text in group header and a gap in detail of first page and view next page, the subreport display right data of memo field. But the report still not display group footer on each page.
    How do I can remove a gap in first page and display group footer on each page?
    Thanks

    in subreport in format for the memo field uncheck keep object together.
    You can not force group footers to repeat on each page.
    I have not tried this but you might be able to capture the data you want to show in SR page footer and display in main report page footer, using shared variables.
    Ian

  • Previous record values displaying in the Group Footer row in the report.

    Hi Friends,
    I have 3 tables
    TableA:(PERNR BEGDA ENDDA are key fields)
    PERNR BEGDA    ENDDA      WERKS
    10001 1/1/2010 12/31/9999 1001
    TableB:(PERNR BEGDA ENDDA SUBTY are key fields)
    PERNR BEGDA    ENDDA       SUBTY  TYPES
    10001 1/1/2010 12/31/9999   01          COMS1
    10001 1/1/2010 12/31/9999   02         COMS2
    TableC:(PERNR BEGDA  ENDDA are key fields)
    PERNR BEGDA  ENDDA        AMNT
    10001 2/2/1997 4/3/2010      1000
    10001 4/4/2010 12/31/9999  2000
    I have joined these table by the key 'PERNR'( like A->B and A->C)
    Groped by the same key 'PERNR'
    My result rows in the report:
    PERNR BEGDA    ENDDA      WERKS  SUBTY  TYPES  BEGDA    ENDDA      AMNT
    10001 1/1/2010 12/31/9999 1001       01         COMS1  2/2/1997 4/3/2010    1000
    10001 1/1/2010 12/31/9999 1001       02         COMS2  2/2/1997 4/3/2010    1000
    10001 1/1/2010 12/31/9999 1001       01         COMS1  4/4/2010 12/31/9999 2000
    10001 1/1/2010 12/31/9999 1001       02         COMS2  4/4/2010 12/31/9999 2000
    But in the report format is like this in the Group Footer row:
    PERNR: 10001                     WERKS:1001
    SUBTY: 02                          AMNT :2000 (Current date)
                                                AMNT :1000 (Previous record)
    I created the format with "Previous" function
    but in the report it is giving the '2000' instead of '1000' in the AMT field
    Please help me, can i use the for loop in the report? or any sugessions?
    Thanks in advance.
    Regards,
    Venkata

    A group footer will dis[lay contents of the last record. You need to sort records to ensure that the last record contains link to your dynamic image.
    Ian

  • Problems with summary field in group footer

    Hello
    In a dynamically generated Report in c#, i made a sum in some group footer i have generated.
    the values to sum are integers. But Crystal show a result like that : 1254.00 and i want it this 1254.
    here the code use to make the sum in the group footer
    l_CrySectionSousTotal = m_ReportClientDocument.ReportDefController.ReportDefinition.get_GroupFooterArea(b_intNumGroupe).Sections[0];
    l_champsTotal.FieldFormat.NumericFormat.RoundingFormat = CrRoundingTypeEnum.crRoundingTypeRoundToUnit;
    l_champsTotal.FieldFormat.NumericFormat.NDecimalPlaces = 0;
    l_champsTotal.DataSource = "Sum ({ado.Poids})";
    m_ReportClientDocument.ReportDefController.ReportObjectController.Add(l_champsTotal, l_CrySectionSousTotal, -1);
    it's seem's like the NDecimalPlaces property do nothing.... i don't understand.
    if you have an exemple of use of NDecimalPlaces ....
    thanks for you help.

    Hello, Jonik;
    The formatting changes will not take effect unless you tell the field not to use the default values.
    So, try adding a line of code such as:
    l_champsTotal.FieldFormat.CommonFormat.EnableSystemDefault = False;
    before:
    l_champsTotal.FieldFormat.NumericFormat.RoundingFormat = CrRoundingTypeEnum.crRoundingTypeRoundToUnit;
    l_champsTotal.FieldFormat.NumericFormat.NDecimalPlaces = 0;
    Elaine

  • Repeat group footer on each page

    Hi all,
    I have a regular report with 1 Group. My problem is that my report doesn't repeat group footer on each page. I know that in Grouping options there is an option for "Repeat Group Header on each page" checkbox which makes the Group Header print on each page. I've found that Header and Footer both work together and that if you print Header it will print footer as well. The thing is I have paging functionality (<a href='http://www.crystalreportstrainingbootcamp.com/resources/trainers_talk_detail.asp?Title=03'>click here for paging details</a>) in my report in the Group, so once it reaches 14 lines in Details it goes to the next page, prints the GROUP HEADER but not the GROUP FOOTER on each report page.
    Does anybody know why?
    I found the following topic: <a href='http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do;jsessionid=90BF3D79A308CCF6B58F1E2656225CDD?cmd=displayKC&docType=kc&externalId=c2004981&sliceId=&dialogID=360384&stateId=1%200%20356275'>Creating a fake group header for orphaned group footers</a> but it's for CR 7. Was it resolved in newer releases of CR or it still needs a work around? I'm not even sure if that will fix my problem...
    Thank you,
    Tatyana

    Hello,
    please give us the verison of your Crystal Reports product that we can investigate
    Regards,
    Falk

  • Using PHP to generate images in alternate colors

    I have a PNG image of a black silhouette graphic with
    softened edges against a transparent background.
    Can I use PHP to generate this image in alternate colors
    (allowing the black graphic to be displayed in a color other than
    black)?

    AngryCloud posted in macromedia.dreamweaver:
    > I have a PNG image of a black silhouette graphic with
    softened
    > edges against a transparent background.
    >
    > Can I use PHP to generate this image in alternate colors
    > (allowing the black graphic to be displayed in a color
    other than
    > black)?
    I have no experience with this, but I was just poking around
    in the GD
    references and found a comment on imagefill() that might
    help:
    http://us.php.net/manual/en/function.imagefill.php
    Comment:
    http://us.php.net/manual/en/function.imagefill.php#81873
    Or you may need to work with some of the other alpha
    functions.
    Mark A. Boyd
    Keep-On-Learnin' :)

  • How to get the value of a variable in group footer in the report footer also

    I have a placed a formula as below at the group footer and the report footer. The data is grouped on the basis of duedays which is again formula and the value in that is appearing correctly.
    Whilereadingrecords;
    Global Numbervar CNTONE;
    Numbervar P := P+1;
    IF P = 1 AND {@DUEDAYS} = 0
    THEN CNTONE := {spSUPPLIERSOA;1.INVOICEBAL}
    ELSE IF P>1 AND  {@DUEDAYS} = 0
    THEN CNTONE := CNTONE + {spSUPPLIERSOA;1.INVOICEBAL}
    At the group footer I get the value correctly for CNTONE but when I place the formula in Report footer I get the value for CNTONE as 0.
    Please do let me know how I could get the same value in the report footer also.
    Regards
    Sreejith J

    Hi Abhilash;
    When I give the statement whileprintingrecords then my above formula sums up only the first record and the last record of the group and when I give whilereadingrecords it adds up all the data in the group correctly.
    The formula that you mentioned for the report footer had worked out and it is showing my result correctly.
    I did not put up the reset formula on the group footer because as the group changes I had used another variable in another formula for example for the second group I used
    Whilereadingrecords;
    Global Numbervar CNTTWO;
    Numbervar Q := Q+1;
    IF Q = 1 AND {@DUEDAYS} = 30
    THEN CNTTWO := {spSUPPLIERSOA;1.INVOICEBAL}
    ELSE IF Q>1 AND  {@DUEDAYS} = 30
    THEN CNTTWO := CNTTWO + {spSUPPLIERSOA;1.INVOICEBAL}
    I have set up total 5 such formulas as the number of groups that will be formed is 5. I have put up these formulas on the group footer and suppressed it as I dont want to get it displayed.
    The as you suggested the solution for Report Footer I did that and getting the result correctly.
    I dont know I may be following a longer procedure
    Take Care
    Sreejith J

  • 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

  • Display alternate color in rows  : : : record numbers are not in sequence to display alternate color.

    Post Author: SRK
    CA Forum: General
    Hi ,
      I am using  the following formula to display the alternate white and silver  background color in every reocrd but this does not work because the records numbers are not in sequence  for ex : its showing 54,56,58 which is not allowing the alternate color, Any advice.Thanks if   remainder(recordnumber,2) =0 then    crNoColorelse    Color (218,218,218); 

    Post Author: keiffer6
    CA Forum: General
    Could you simply add a running total for each record. That will give you the 1 2 3 4 5 6 ....
    Then in the details section color formula, use something like this:
    if RunningTotal Mod 2 = 0 then crSilver Else crNoColor.
    HTH

  • Repeat group header on every page before group footer as group spans across

    I have a group which spans across multiple pages.In group there are two subreports in Group footer.I have set all the required parameters to repeat group header on every page in group expert,but not getting desired results,please help....

    I have following structure in my report.
    I have two group headers at the top,first one contains name of the site & site number,second header contains Site-Admin as heading,below which i have kept details section of report which displays name of administrator which repeats details section in case there are more than one adminstrators.
    Below this i have two group footers which individually contain each of the two sub-reports.
    As per data,these individual subreport may or may not begin at the beginning of the new page every
    time,therefore fake group header put at the beginning of these sub-reports may come in middle of the page sometime,so thet cant be done.
    Thank you,please reply if you have another solution....

  • 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

  • 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

  • Color code groups in address book

    Is there any way to color code groups so that when mail comes in I know to associate it with a specific group. I was able to do this in entourage but have switched to apple mail.

    As already described, create a new Rule in Mail.app (Mail -> Preferences -> Rules), that reads:
    if (ANY) of the following conditions are met:
    (Sender is member of group) (xxxxxxxxx)
    Perform the following actions:
    (Set Color) (Of Background (or text as you prefer) to (Any color you wish)
    Save the rule.
    Before doing that, you might want to create a few Groups (or Smart Groups) in Address Book with the people you want to color.
    Hope this helps.
    Message was edited by: Martin Marconcini (changed sqared brackets for parenthesis)

  • Alternate color to the rows with sorting

    I have a table which has alternate color to the rows.one row in white and other in blue.when sorting is used, the blue-highlighted lines on the table are randomely re-located. They should not be impacted by the sorting.But they are getting effected.Is it possible to give alternate color to the rows with sorting?if yes,how.

    Go to Service.sap.com and follow the path > Problem Solving > Create Customer Messages. Choose a System and write a Message.
    raising an OSS message

Maybe you are looking for