Jump to content
Changes to the Jaspersoft community edition download ×

help needed - subreports


fella

Recommended Posts

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

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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

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