Jump to content

Report Data Sourde - SubReport


gusamasan

Recommended Posts

Hello all.

I have tow report in my application;

I use, for each report,  the follow:

JasperPrint jp= JasperFillManager.fillReport(   this.jasperFilePath,
                                                                                    this.parameters,
                                                                                     new JRBeanArrayDataSource( this.vectorBeans ) );

 

Now, I need insert those reports ( as subreports ) into a master report; I find tutorials where subreports uses SQL queries, but I use the JRBeanArrayDataSource object.

How I can do it?.

 

Thank you, in advance.

Code:
JasperPrint jp= JasperFillManager.fillReport(   this.jasperFilePath,                                                                                    this.parameters,                                                                                     new JRBeanArrayDataSource( this.vectorBeans ) );
Link to comment
Share on other sites

  • Replies 1
  • 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...