In the previous section, we discussed how to quickly generate a database report by using iReport's Report Wizard. The wizard is very convenient since it allows us to create a report very quickly. However, its disadvantage is that it is not very flexible. In this section, we will cover how to create a report from scratch in iReport. Our report will show the tail number, serial number, and model of every aircraft in the FlightStats database.
To create a new report, click on the File | New Document menu item.
We should get a pop-up window like the following:
As can be seen in the screenshot, we can select the report's width and height, orientation, and Page margin. From the Columns tab, we can select columns (number), width, and spacing of the columns. From the Scriptlet tab, we can indicate what class to use as a scriptlet (if any). The More tab allows us to set the option of having the report title and/or summary in a new page and other...