I have designed a report using iReport 4.5 and Oracle stored procedures that returns ref cursors.
When I pass a correct parameter the report successfully returns data. all good till now.
When I pass a incorrect parameter the iReport designer displays No Data to display message so
I changed the report property "When No Data" to "All Sections, No Detail" – all good till now.
But my business requirement is to display a dummy band with a message stating "No Data to Display" and this band will display only when the stored procedures returns no records and this band should not display when the stored procedure returns data. how do i do that…
Thanks for your help with this.