genzo Posted January 27, 2011 Share Posted January 27, 2011 Hi all !I'm a newbie on iReport but day by day i'm improving my knowledge about.I've a problem when i try to generate an easy subreport (new report with a simple label) into a master report....when i'm going to create a first view of that, in the master report i don't see my subreport with his label.i've reading a lot of books about ireport, following the instruction...but the result it's the same...master report continue to not "render" suberport...The datasource is setting to get parameter from a javabean. Someone can help me please? Tnx. p.s. sorry for my very bad english !!! Link to comment Share on other sites More sharing options...
doru_voinea Posted January 27, 2011 Share Posted January 27, 2011 On subreport propertis check if Connection type: Use a connection expression and Connection Expression : $P{REPORT_CONNECTION}HTH Link to comment Share on other sites More sharing options...
Giulio Toffoli Posted January 28, 2011 Share Posted January 28, 2011 we need to check the jrxml code. Just to see if at least your report is found, in the subreport report set the report property "when no data" to "all bands no details" and put something in the title band. In this way, even if the subreport has no data, it will at least print the title, and this will help us to understand if the problem is about the data (as I suppose).What's your data source expression for the subreport? Giulio 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