Hi Guys,
Whenever there is NO data for your selected input controls to your report in jasper you can show NO data message either in the form of text or a No data image.
For this you just need to enable a property for the Report.
From the Report Inspector
* Right click on Report Name
* Click on Properties
* Search for "When No Data" property and from the list of drop down select "No Data Section"
* Add "No Data" band to your report.
* Take a text field and type your No data message or insert an image saying that there is no data and select other inputs.
Save the report and select input controls for which you do not have data.
Here is a sample image :
Whenever there is NO data for your selected input controls to your report in jasper you can show NO data message either in the form of text or a No data image.
For this you just need to enable a property for the Report.
From the Report Inspector
* Right click on Report Name
* Click on Properties
* Search for "When No Data" property and from the list of drop down select "No Data Section"
* Add "No Data" band to your report.
* Take a text field and type your No data message or insert an image saying that there is no data and select other inputs.
Save the report and select input controls for which you do not have data.
Here is a sample image :
No comments:
Post a Comment