Skip navigation
TiJaLeII
Currently Being Moderated

Font color at runtime

Sep 23, 2008 10:27 AM

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.
 
Replies
  • Currently Being Moderated
    Sep 24, 2008 6:38 PM   in reply to TiJaLeII
    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.
     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)