Jasper Report: How can I hide a field based on another

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Corwin Moyne
    New Member
    • Feb 2012
    • 37

    Jasper Report: How can I hide a field based on another

    Hello.

    I have a Jasper Report being populated from a database. The report will be used as a stock check form so I have a rectangle on there that will be used to enter data manually when the report has been printed.

    One of the fields (Reference) is set to not print repeated values but how can I get the rectangle to only print when the Reference is printed.

    I have tried:[LIST][*]Boolean.valueOf ($F{Reference}. isVisible())[*]new Boolean($F{Refe rence}.isVisibl e())[*]new Boolean($F{Refe rence}.isPrintR epeatedValues() == false)
Working...