Jump to content
Changes to the Jaspersoft community edition download ×

Problem filling subreports

Recommended Posts

By: Jorge - jorarcia

Problem filling subreports

2003-03-03 06:39

How can I fill a subreport using datasource?. The only way that I have made subreports is using a .jasper file and I don't know how to fill it. Thanks.





By: Teodor Danciu - teodord

RE: Problem filling subreports

2003-03-25 13:30




The <subreport> tag allows you to specify the data

source of that subreport using either the

<dataSourceExpression> or the


If your subreport has an internal SQL query,

then you pass a connection, like in the "subreport"

sample provided. If it is about filling the subreport

from some custom data, then you pass

a JRDataSource object using the

<dataSourceExpression> tag.


I hope this helps,


Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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