1 Reply Latest reply: Sep 24, 2008 6:38 PM by epulfy RSS

    Font color at runtime

      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.
        • 1. Re: Font color at runtime
          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.