Jump to content
We've recently updated our Privacy Statement, available here ×

Empty ResultSet


gusamasan

Recommended Posts

Hello,

 

I have a .jasper file. It show the buys of January ( for example ). The report is showed correctly for this month. But for February is showed a blank report.

 

The database contains registries for January; February have not entries.

 

I need show a message for Empty resultSet.

 

How I can do it?.

 

The report is in PDF format.

Link to comment
Share on other sites

  • Replies 7
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Hi,

you can put a text field with a simple word saying "NO DATA" in the no data seccion, and then select "when no data : no-data section" , its in the panel to your right, and when the report will be empty, will show your message.

 

can help you with that?

 

byess :)

 

pd. i dont talk very well english. :P

Link to comment
Share on other sites

Hi!

Ok, you must do right click in the report and select band props. then select the no data section, and modifi his size.

Then the section apear, put the text field, and select the option for the data section apear when no data in the report.

I have ireport 2.0.3 but sometimes dont work in a old version of jasperserver.

Byes!!


Report Image: https://sites.google.com/site/kintell33/nodata.JPG

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...