cancel
Showing results for 
Search instead for 
Did you mean: 

sub report inside another sub report in cr Xi

0 Kudos

is it possible to include sub-report inside another sub-report, like nested sub reports.... already have sub report which needs to add Total of amount offcourse it is complex calculations already done on another i want include that as sub report of this report insert sub report is disabled in sub-report.. it is not possible?

Main Rtp

|-- sub report1

| -- sub report 2 

          |-- sub report2a

or i can use shared variable of subreport2a in 2 by adding it to main report

Main Rtp

|-- sub report1

| -- sub report 2  (use it here)

|-- sub report2a (shared variable)

Accepted Solutions (1)

Accepted Solutions (1)

DellSC
Active Contributor
0 Kudos

There is no way to do nested subreports - you can only put subreports in a main report.

You could potentially use a shared or global variable to do this (I don't remember which one works between the main report and its subs).  Here's what you would do:

1.  In the main report, declare the variable and initialize it so that if the subreport doesn't provide a value, it doesn't keep the value from the previous data.  Put this in a group header that appears BEFORE either of the subreports.

2.  In Subreport 2, declare the variable and set its value.

3.  In Subreport 2a, declare the variable an use its value.

-Dell

0 Kudos

yeah the same i tried as mentioned option 2 in my question using shared variables it worked

Answers (0)