title: I need subreport just for getting some value (return value). Is it possible to hide subreport but stay it runnable?
body: <p>I have a report with a sub-report. The sub-report is in the details band. And I'm getting some return values from that sub-report. I want to hide the sub-report from the details band when the report is generating (even though sub-report is empty or not). But I want to receive the return value even if the report is hidden. Is there any way to achieve this?</p>
  
  <p>I have tried <code>new Boolean(false)</code> in Print When Expression of the sub-report. But then the main report can't receive sub report's return value.</p>
  
  <p>I'm using iReport 5.6.0</p>