Previous Next

How to create a formatting rule

1  
2  
Choose the Highlights tab in Property Editor. The Highlights page appears, as shown in Figure 6-11. It is empty if you have not yet specified any formatting rules for the selected element.

Figure 6-11 Highlights page

Figure 6-11  Highlights page
3  
4  
1  
If the order total is greater than $50,000.00, then set
the font color to blue and the font style to bold.
There are two parts to the rule: If (condition) and Then (format). The New Highlight dialog helps you specify the condition and format parts of the rule by breaking them down to more specific parts.
2  
1  
*
*
2  
3  

Figure 6-12 Elements of the conditional expression

Figure 6-12  Elements of the conditional expression
You have now completed the condition part of the rule, which specifies the following:
If row["OrderTotal"] is greater than 50000
3  
*

Bold button

*

Figure 6-13 Elements of the formatting expression in New Highlight

Figure 6-13  Elements of the formatting expression in New Highlight
*
4  
The rule that you created appears in Highlight List, as shown in Figure 6-14. The rule takes effect the next time you run the report.

Figure 6-14 Highlight List

Figure 6-14  Highlight List
5  

(c) Copyright Actuate Corporation 2013