Create the Default Layout

12-4 Oracle Reports Users Guide to Building Reports the style of report you want to create, and choose to display the data across the report hence creating the across group report. To create the default layout: 1. In the Object Navigator, double-click the Paper Layout node to display the Paper Layout view.

2. In the Paper Layout view, choose Insert Report Block to display the Report

Block Wizard.

3. In the Report Block Wizard, on the Style page, select Group Above, then click

Next . 4. On the Groups page: ■ Click G_LAST_NAME in the Available Groups list, then click Across to specify the Print Direction and move this field to the Displayed Groups list. ■ Click G_DEPARTMENT_ID, then click Down. ■ Click Next. 5. On the Fields page, click the right arrow to move the following fields from the Available Fields list to the Displayed Fields list, then click Next: ■ DEPARTMENT_ID ■ DEPARTMENT_NAME ■ LAST_NAME ■ FIRST_NAME 6. On the Labels page, click Next. 7. On the Template page, make sure Beige is selected under Predefined Template, then click Finish to display your report output in the Paper Design view. It should look like this: Figure 12–4 Paper Layout view for the across group report

12.4 Run Your Report to Paper

In this section, you will run your report to the Paper Design view so you can see how your report displays. 1. Click the Paper Design button in the toolbar. Your report runs, then displays in the Paper Design view. It should look like the following: Building an Across Group Report 12-5 Figure 12–5 Paper Design View of the Across Group Report 2. Save your report as acrossbreak_your_initials.rdf.

12.5 Summary

Congratulations You have successfully created an across group paper report. You now know how to: ■ manually create a data model with two queries. ■ create a masterdetail report using the Report Block Wizard. For more information on any of the wizards, views, or properties used in this example, refer to the Oracle Reports online Help, which is available in Oracle Reports Builder or hosted on the Oracle Technology Network OTN, as described in Section 4.1.1, Using the Oracle Reports online Help .