Hello there,
At one place in my main report i have a section which needs to be filled with different data from the datasource. The layout of this section changes depending on the condition.
My first idea to tackle this problem was to design a subreport for each conditional section, and include the correct subreport in the MainReport depending on condition.
How can i transfer the Data (Fields $F{} in MainReport) as $F{ields} to the subreport so that they are displayed only once? If the subreport uses the datasource, the subreport tries to iterate over the datasource to display the data for every record.
Thank you for taking your time to read my Question!