File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
    Bookmark Topic Watch Topic
  • New Topic

jasperreport ireport textfield expression

 
Kristof Camelbeke
Ranch Hand
Posts: 97
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hello I wondered if it was possible to use expressions like hiding a Static Textfield when another textfield has a null value.
I have tried to accomplish this using Ireport print on expression but with no result.
The corresponding tag in Jasperreports is <printWhenExpression> but I have not seen any examples on sourceforge

Does anybody have an example or know if this is possible ?

Thanks for any input !

Kristof
 
Kristof Camelbeke
Ranch Hand
Posts: 97
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
Great I have just found out how so here it is :
new Boolean($F{FIELDNAME}!=null)
If the mentionned field is null then the static field will not be printed
 
Anandh K.M
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
i want to know what is the syntax for the assignment operation
 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
Anandh,

This is a four year old thread. Let's continue this discussion in your other thread.
 
I agree. Here's the link: http://aspose.com/file-tools
    Bookmark Topic Watch Topic
  • New Topic