Skip to Content
0
Former Member
Jul 21, 2016 at 12:04 AM

EvaluateAfter(x) to suppress a section?

438 Views

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:

---

AfterEvaluating(@PrintingFormula);

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?