title: How to pass optional parameter to the report?
body: <p>I am creating <em>JR</em> report with embedded <em>sql query</em> by <em>iReport 4.5.0</em>. </p>
  
  <p>I already added parameter in Query. But I will want to give flexibility so that user can pass parameter or can not pass parameter so that same report can work with my web application. </p>
  
  <p>Can anyone tell me how can make my report that much flexible so that user can or cant pass parameters.</p>
  
  <p>I modified the <em>queryString</em> like this:</p>
  
  <pre class="lang-sql prettyprint-override"><code>SELECT columnA, ColumnB FROM Table WHERE Table."columnA" = $P!{}
  </code></pre>
  
  <p>But <em>iReport</em> failed to generate report.</p>