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?