charliesuco Posted April 28, 2010 Share Posted April 28, 2010 I have a timetable report that works the way I want. I need the timetable to be contained inside a rectangle. The rectangle has to be fixed size whether the timetable has several pages or its empty. In order to achieve this, I have created an aditional report (now it's the main report) that only has the detail band. It has two rectangles that contain a timetable subreport each.As I said the subreport works properly when it's used separately, but inside the main report the subreport adds one page with the two rectangles containing nothing. I've spend lots of time trying to avoid this but I haven't found what's wrong. Any idea? HorariosPorHoja_Cuadros.jrxml --> Main report HorariosPorHoja_Salidas.jrxml --> Subreport PD: My subreport has 5 columns, it seems that this is somehow related to the problem.Post Edited by charliesuco at 04/29/2010 10:46 Link to comment Share on other sites More sharing options...
lucianc Posted May 4, 2010 Share Posted May 4, 2010 Make the subreport elements as tall as the band on which they are placed since otherwise they will push down white space in the band.Regards,Lucian Link to comment Share on other sites More sharing options...
charliesuco Posted May 5, 2010 Author Share Posted May 5, 2010 Thanks, that worked for this one, but what should I do if the subreport has elements above and below it in the same band (column footer)? Link to comment Share on other sites More sharing options...
lucianc Posted May 5, 2010 Share Posted May 5, 2010 You should place the elements above or below the subreport, just don't leave any white space between the last element and the band bottom. Link to comment Share on other sites More sharing options...
charliesuco Posted May 7, 2010 Author Share Posted May 7, 2010 Ok, thanks 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