
We have to read and understand 013. SETTING DATABASE CONNECTION.
This tutorial using iReport 4.1.1.
- Create New File...

- Set Report Name (example: rptDDA)

- We will see a dialog that we have created it.

- Click Query Button

- Unceklis Automatically Retrieve Fields

- Write this sql:
SELECT C.* FROM SCH.CHILD C
- Click Read Fields button. The fields will be shown below.
- Click OK
- All of Fields will be shown in Report Inspector tab -> Fields node.

- Select all fields, then drag them to Detail band.

- Fit the Detail height, by double click the bottom line of Detail band.

- Select all object within Detail band and Column Header band.

- Right click them, select Padding and Borders.

- Set the Line width, then OK.
- Click Preview button.