The Report Design Document / Expressions in properties |
You may want your expression to depend on a data variable rather than on the constant string, such as "HELLO".
The rules for embedding RTL in PXML are:
max(10cm,width("HELLO"))This PXML expression contains one numeric constant ("10") and one string constant ("HELLO"). These constants can be replaced by data variables, enclosed in curly braces:
max({order_line.titlewidth}cm,width({order_line.title}))
For this expression to be legal, the variable order_line.titlewidth has to be of type Numeric, and the variable order_line.title has to be of type String.