Chapter 10. Adding Subreports
This chapter is dedicated to Subreports. We will see what Subreports are and how they work and learn about their specific characteristics. We will also talk about the relation that exists between the main Report and its Subreports.
As we mix theory and practice, we will be able to appreciate the full potential of adding Subreports. We will be able to add information to our Reports in the form of tables, charts, and so on, whether this information is connected to our data set or not. This gives us an idea of the potential that Subreports provide.
In this chapter we will do the following:
Create a new report, create its data set, and create a Parameter.
Create two Subreports. The first Subreport will include a chart, and the second Subreport will include a table.
Configure internal Parameters for both Subreports.
Create data sets for both Subreports and configure them to use the values of the internal Parameters.
Finally, we propose that you modify a previous report...