Using expressions in ireport

后端 未结 1 791
有刺的猬
有刺的猬 2021-01-29 09:19

I am new in iReport and using iReport 5.6.0 I was trying to show a text based on a condition. Suppose, I have two variables name Cr and Dr. And I want

1条回答
  •  北海茫月
    2021-01-29 09:22

    It's solved. In Print When Expression I used something like this. The text is only showing when this condition is fulfilling.

    $V{Dr_total}.intValue()<= $V{Cr_total}.intValue() ? Boolean.TRUE:Boolean.FALSE

    0 讨论(0)
提交回复
热议问题