Conditional PageBreak With Rectangles in a Report
If we are trying to insert a page break after a Rectangle based on a Conditional Expression, that does not work.
You need to next two rectangles inside one another.
Apply the conditional (apply the conditional expression) formatting to the outside rectangle. Then apply the page break to the inner rectangle.
You have now separated the conditional formatting from the page break.
Since the inside rectangle is only visible when the conditional statement is true, it only applies the page break when it is visible.
This might be a single scenario, but we can apply it to many others reports where we wanted to Force a page break.