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

Passing REPORT_COUNT from Subreport to Masterrepor


midrag

Recommended Posts

Hi,

 

i am trying to pass the REPORT_COUNt variable from my subreport to my masterreport.

 

Code:
<returnValue subreportVariable="REPORT_COUNT" toVariable="Subreport_RecordCount"/>

 

My Subreport_RecordCount Variable is set to calculation=system

Code:
[code]<variable name="Subreport_RecordCount" class="java.lang.Integer" resetType="Report" calculation="System">

 

i use the variable in the detail field of the masterreport. my problem is, that the Subreport_RecordCount variable shows the Record count of the last Row, not of the (desired) acutal row (first row is shown as null).

 

Any ideas?

 

best regards,

 

midrag

Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Hi Lucianc,

 

thx for your reply.

Setting evaluation to Band helped to show the variable correctly.

But what if i want to chart with the variable?

 

I have a Pie Chart in my Summary and want to Chart with the RECORD_COUNT Variable from my Subreport.

Is there any way telling the Chart to evaluat the Variable at the right time?

 

thx for your help!,

 

midrag

Post edited by: midrag, at: 2006/11/08 07:50

Link to comment
Share on other sites

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