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

subreports don't work in Jasper server


tiamtienkam

Recommended Posts

Hi,
I created a main report containing several sub reports in jaspersoft studio. the compilation of it works very well in jaspersoft studio but once published on the server, the main report does not work anymore.
its execution asks me parameters, I enter the values but I am told that the report is empty.
I have the following message: "the report is empty" while everything works well in jaspersoft studio. how to remedy this situation? how to publish a report how many sub reports?

thanks

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Jaspersoft studio and server render differently. 

The report is empty could be a lot of things.  It could be that there is no data or that elements fall outside the range of the report.

 

My typical recommendation for report is empty:

1. create a variable.  Set the expression ""   (just two quotation marks.  This will return blank)

2. Create a new group from that variable

3. move your band elements (table or text onto the group band)

4. Set the report  property:  When no Data Type = All sections no detail

 

You may still get blank.

I would drag your parameters onto the band to see they are coming across correctly.

Are the parameters used in the dataset query?

 

If you like, post your jrxml

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...