Jump to content
JasperReports Library 7.0 is now available ×

Does anybody know about JRDataSources?


usernamer

Recommended Posts

Hi, :( I´m very frustrated because I have searched in tons of forums and no one couldn´t give me answer of configuring JRDataSources in subreports.. Is it an urban legend? anybody could get it to work?

 

I try to pass two JRBeanCollectionDataSource (one to master, other to subreport) in the fillReport method from my java application, and leaving parameters as null.

 

Well, It works separately (prints two pdf with its content), but when I join the subreport to the master, the subreport area only shows the static fields, drawing the dynamic as "null" (the master area it´s ok).

 

I put "new JREmptyDataSource()" in the "Subreport" -> "DataSource Expression" menu, but I´m almost sure here is the mistake.. What I should type?

 

Please, help me because it doesn´t appear in any forum or manual!

 

Thanks a lot, bye!

 

Post edited by: usernamer, at: 2007/06/05 09:19

Post edited by: usernamer, at: 2007/06/05 11:01

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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