fella Posted April 12, 2007 Share Posted April 12, 2007 Hi I am new to JasperReport and I need help in subreports: I need to generate a simple report that contains a title, some parameters and 2 subreports, lets call them A and B. A and B contain only 1 page of static text. Can you give me an example how to do that? I can generate two subreports and a master report with title and those parameters but neither A nor B are included. Please, can you give me an example how to do that? Thanks Link to comment Share on other sites More sharing options...
Teodor Danciu Posted April 19, 2007 Share Posted April 19, 2007 Hi, If you do not provide a data source for the subreports (they contain only static text right?) then at least make sure the subreport templates have whenNoDataType="AllSectionsNoDetail" and that the static text is not put in the detail of the subreports, because you would not see it. I hope this helps.Teodor 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