How to pass optional parameter to the report?
问题 I am creating JR report with embedded sql query by iReport 4.5.0 . 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. Can anyone tell me how can make my report that much flexible so that user can or cant pass parameters. I modified the queryString like this: SELECT columnA, ColumnB FROM Table WHERE Table."columnA" = $P!{} But iReport failed to generate report.