Jump to content

Data source for subreport


mackensen

Recommended Posts

Hello,

I have a web application with a main report that is ok. All the data comes from the servlet (including datasource) so there' s no SQL query or database connection in the main report.

In the main report there is one subreport (or even two). How can I connect this subreport to a datasource (the same db connection as for the main report) and use some SQL query the same way as for the main report, I mean without SQL code inside the subreport ? The subreport should receive the id field from the main report as a parameter (for every record of the main report there are some records for the subreport).

Thanx,

mackensen

 

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