Previous Next

Formatting Report Content : How to hide an element conditionally

How to hide an element conditionally

1
2

Figure 7-19 Hide Element option in Property Editor

Figure 7-19
3
Select Hide Element to specify that this element be hidden. If you want the element, such as an empty row, to always be hidden, this selection is all you need to do. If you want to hide the element conditionally, specify the condition as well.
4
n
n
To apply the hide condition for certain report formats, select For specific outputs. Also select this option if you want to apply different conditions, depending on the report format.
5
Specify the hide condition by performing the following tasks:

1
2
On the expression builder, create an expression that specifies the hide condition. Remember, you have to think about when you want to hide the element, not when you want it to appear.
For example, to display the text message, Jumbo, when a loan amount exceeds $363,000.00, conditionally hide the text element using the following expression:
row["ordertotal"] < 363000
This expression hides the text message when loan amounts are less than $363,000.00.
3
6

(c) Copyright Actuate Corporation 2008