Skip to Content

Suppress to display is value is greater then 0

Hello,

Please forgive me if someone else has ask this question. I tried to search for an answer and did not find a solution.

I have a report that made up from 5 subreport to get my main report. I have values (sum of a weight from an object that I need from a sql database) which all works as I like. My question is I would like Report Footer b (I have suppressed) to be unhidden if my @TotalWeight is a value greater then 0. If my @TotalWeight is less then 0 then I want Report Footer c to be unhidden. Now I just learning Crystals Report (I am using version 14.1.1.1036). There might an easier way to get my results that I need and I am open to all suggestions the you might have. Thank you.

Sample Report.JPG (147.0 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 06, 2014 at 09:33 PM

    Hi Gerald,

    To suppress the Report Footer b when @TotalWeight > 0

    1. Go to Section Expert..
    2. Select Report Footer section
    3. Select Formula Editor for Suppress(No drill Down) and add the condition as @TotalWeight < 0

    To suppress the Report Footer c when @TotalWeight < 0

    change the Suppression condition to @TotalWeight > 0

    Thanks,

    Nrupal

    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.