Create a data model with a break group and group left layout

10-4 Oracle Reports Users Guide to Building Reports Figure 10–2 Groups page of the Report Wizard

10. On the Fields page, click the double right arrows to move all of the fields to

the Displayed Fields list. Figure 10–3 Fields page of the Report Wizard

11. Click Next until you reach the Template page of the Report Wizard.

12. On the Template page, select Predefined Template and click Beige, then click

Finish to display your report output in the Paper Design view. It should look something like this: Building a Single-Query Group Report 10-5 Figure 10–4 Paper Design view for the single-query group left report

10.2.2 Format a field

In the Paper Design view, notice the Salary field. The values are neither aligned nor displayed as monetary amounts. You can quickly rectify this in the Paper Design view. To assign a format mask to monetary values:

1. In the Paper Design view, click the first number value underneath the Salary label.

Notice that all of the values are immediately selected, indicating that you can change their properties simultaneously. 2. Click the Currency button in the toolbar. A currency symbol immediately appears next to all of the values. 3. Click the Add Decimal Place button twice. Two decimal places are added to the right of the decimal point. 4. Resize the fields. Click and drag the rightmost handle of the cell value under the Salary label about 0.5 inches 1.5 centimeters to the left.

5. Shift-click the Salary label.

6. Click the Align Right button in the toolbar. 7. Click in an open area of the Paper Design view to deselect all of the objects. 8. Save the report as grp_lft2_your_initials.rdf. 10-6 Oracle Reports Users Guide to Building Reports Figure 10–5 Salaries formatted

10.2.3 Use the Property Inspector to add white space

If you examine your report output in the Paper Design view, you will notice that it can be difficult to distinguish where one departments data ends and the next departments data begins. To make the report more readable, you want to add some white space between the departments, but you want to retain the same spacing between employee rows. For this report, you will change a repeating frame property for the master repeating frame to create some white space between the department records. To create white space between the departments:

1. In the Paper Design view, click the first number value underneath the Department

Id label. Notice that all of the department numbers are immediately selected.

2. Click the Select Parent Frame button in the toolbar. Notice how the border of the

repeating frame that contains the Department Id field is now highlighted.

3. Choose Tools Property Inspector to display the Property Inspector, and set the

following properties: ■ Under Repeating Frame, set the Vert. Space Between Frames property to 0.25.