Jump to content
We've recently updated our Privacy Statement, available here ×

Using One Datasource for Multiple Sub-reports


dan_thorman

Recommended Posts

I have one main report with 2 subreports. The 2 subreports are in the details section of the main report. I want to pass to each the same parameter, and for each to evaluate for the same parameter, so that i get a table that looks something like this:

 

 

brand name 1: condition1count condition1sum condition2count condition2sum

brand name 2: condition1count condition1sum condition2count condition2sum

brand name 3: condition1count condition1sum condition2count condition2sum

 

etc. where condition1count and condition1sum are the results of 1 of the sub-reports and condition2count and condition2sum are the results of the other sub-report.

 

in the main report, i am using a jdbc connection to an oracle database to pull distinct brand names and their unique id's, and i want to pass the unique id to the sub-queries as it is a condition in the query they run.

 

The problem i have is that sub-report 1 is evaluating correctly, but sub-report 2 is returning all null data.

 

What did i do wrong?

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