tiamtienkam Posted October 17, 2019 Share Posted October 17, 2019 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 More sharing options...
danoldenkampgmail.com Posted October 18, 2019 Share Posted October 18, 2019 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 variable3. 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now