| Auszug |
|---|
|
Nuclos subreport within a subreport: sub-sub-report, pass parameters, alias without underscore, single result row. |
Language: Deutsch · English
Subreport within a subreport
Multi-level reports – pass parameters from the main via the sub to the sub-sub-report.
| Status |
|---|
| colour | Blue |
|---|
| title | Application developer |
|---|
|
| Status |
|---|
| colour | Green |
|---|
| title | Updated: Jul 2026 |
|---|
|
| Status |
|---|
| colour | Grey |
|---|
| title | applies to Nuclos 4.2026.x |
|---|
|
Report as a tree: sub-sub-reports
A report can branch out like a tree – e.g. order (main form) → order positions (subreport) → article groups (subreport within a subreport).
| Level | Role |
|---|
| Order | main form (trunk) |
| Order positions | subreport (branches) |
| Article groups | subreport within a subreport (twigs) |
Passing parameters through
The sub-sub-report is inserted into the subreport analogously to the subreport and addressed via a parameter (e.g. $P{SubSubreport}). Crucially, this parameter must exist both in the subreport and in the main form. The main form passes it on to the subreport.

Parameter passing main → sub → subsub.
Data sources for sub-sub-reports
The sub-sub-report's data source draws its parameters from the parent subreport. To do this, declare a parameter (alias, e.g. intidArtikel) in the subreport and use it in the sub-sub-report as $intidArtikel.
| Warnung |
|---|
|
Do not use an underscore _ in the alias. Also, the parent record's result set must contain only one row. |

Alias declaration in the subreport.
Related pages
Subreport in the designer
In the designer.
Open →