Skip to main content
September 23, 2008
Question

Font color at runtime

  • September 23, 2008
  • 1 reply
  • 653 views
Is there a way to change element properties of a report at runtime? We have a sales report (PDF format) and it contains projected, actual and difference in sales, and we would like the posative numbers to show up in green and the negative numbers to show up in red.
This topic has been closed for replies.

1 reply

Inspiring
September 25, 2008
I haven't found a really good way to do conditional formatting on an element. The hacky way I handle it is to use two of the same element boxes, with one on top of the other. You go ahead and change the font colors so that one of them is red and the other green. Then, in the "Print When" condidtion make is so that the green one will print when the number in the box is greater than zero and the red one when it is less than zero.