Print When Expression in iReport

前端 未结 2 1184
深忆病人
深忆病人 2021-02-10 16:58

I am trying to do a simple expression in iReport, but whatever I try seems has given me an error. It seems like such a simple thing to do, but whenever I try to do anything in

相关标签:
2条回答
  • 2021-02-10 17:26

    w00t! 35th time's a charm. I finally got the following expression to work. If anyone can tell me why, I would appreciate it.

    new Boolean($F{count}.compareTo(new Integer(0))!=0)
    
    0 讨论(0)
  • 2021-02-10 17:32
    new Boolean($F{count}.intValue()!=0)
    

    Glad that I could help.

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