Jump to content

Using a single datasource for multiple sub reports


keshavab

Recommended Posts

 Hi,

I am facing an issue of using a single datasource for two sub-reports.

The problem is the first sub-report is printed while the second is not printed.

I know , this won't wok because JRDatasource is a consumable datasource and when the next()

returns false, it would not be available for next sub-reports.

 

Is there a way to solve this.

Attached is snippet of  parent JRXML file

 

Here the same meetingsummarydatasource is used for two subreports

1. urgentmeetingsummary

2. non-urgentmeeting summary.

 

Only, contents of urgent meeting summary is printed.

 

Any help on to use same datasource in both the sub reports is welcome.

Code:


Post Edited by keshava at 10/29/2009 12:22
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...