Jump to content
Changes to the Jaspersoft community edition download ×

Repeating rows in subreport

2005 IR Help

Recommended Posts

By: bug123 - bug123

Repeating rows in subreport

2004-07-11 20:08

I have created a subreport. It should be printed when the group of master report is changed. But, the subreport print all the rows at once. Can anyone help me? Thx.





By: C-Box - c-box

RE: Repeating rows in subreport

2004-07-11 23:25

Do you use CustomDataSource or DirectConnection?


If CustomDataSource (for instance "JRTabeleModelDataSource") then I know what's the problem and you have to write your own "FilterableCustomDataSource".....


with DirectConnection you must pass the right parameter (the fieldvalue that should get the fields from SubTable matching to MasterTable) towards your SubReport and use it within your SubReportsQuery (use the "!" before the QueryString).




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