Conditional font color change in group header based on detail section

Posted on 2011-05-03
Last Modified: 2012-05-11
This should be an easy one but those always seem to be the ones that get me...

I would like to change the font color of one of the fields in a group based on a condition of a detail field.  For example - John Doe has an overdue pledge.  His name and summary information is listed in the group header with a drill down to the details of his payment schedule.  He has missed his last two payments and those are listed in red in the details section since they are past due.  I would like to list his name in the group header in red as well so the user can see who is late in payment without having to drill down to see the payment schedule.

I tried to use the conditional formatting options on the fields in the group headers but nothing changes.  Do I need to base the condition on something listed on the same level?

Thank you.
Question by:lcallah93
    LVL 100

    Accepted Solution

    Do I need to base the condition on something listed on the same level?
    Basically yes.
    I gather there may be several detail records showing payment information.

    Try this
    add a formula to the report
    Name - LatePayment
    If (PastDueTEst) then

    PastDueTest is the test you are using to turn the payment information red.

    Use this formula for the conditionally color
    If Sum({@LatePayment},{PersonField}) > 0 then


    Author Closing Comment

    As always, your solutions work like a charm!


    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Join & Write a Comment

    I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
    Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now