Skip to Content
author's profile photo Former Member
Former Member

EvaluateAfter(x) to suppress a section?

In my report, I'm trying to suppress a group entirely if none of its subgroups satisfy a certain requirement. At the group's footer, I have placed a formula to print how many of its subgroups have satisfied the requirement. I went into Section Expert, and under the main group's suppress formula, I have put:



if @PrintingFormula = 0 then true else false;


What ends up happening is that the main group gets suppressed, even though the value for @PrintingFormula is greater than 0. In my head, it shouldn't be suppressed. How would I be able to accomplish this?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jul 21, 2016 at 03:42 AM

    Hi Erikson,

    Could you paste the code for @Pritingformula please?

    Group Selection formulas run 'before' print time formulas do.


    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Erikson,

      Do you really need to use 'shared' variables?

      Can you not use simple summaries to display the counts on Group Footer?

      If you could elaborate on 'if subgroup satisfies the requirement', I can try to suggest a workaround using summaries (that can also be used in the group selection formula).


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.