Create Three Summary Columns

Building a Wrapped Field Report 15-5 Figure 15–5 Data Model with Three Summary Columns

5. Save your report as wrappedbreak_your_initials.rdf.

15.4 Create the Default Layout Using the Report Wizard

The steps in this section show you how to use the Report Wizard to create the layout and choose how your data will display in your report. Here, you will choose the style of report you want to create, and choose to display the data across the report hence creating the across group report. You can create a default layout using the Report Wizard, which deletes any existing layouts in your report and replaces it with the new one. To create the default layout:

1. In the Data Model view, right-click on the canvas, then choose Report Wizard.

2. In the Report Wizard, on the Report Type page, select Create Paper Layout only.

3. On the Style page, select Group Above.

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

the Displayed Fields list. 5. On the Labels page, change the field widths as follows:

6. Click Finish to display your report output in the Paper Design view. It should

look something like this: Figure 15–6 Paper Design view for the wrapped field report Fields Width CUST_FIRST_NAME 2 CUST_LAST_NAME 2 15-6 Oracle Reports Users Guide to Building Reports Notice how the complete names do not display. The steps in the next section will show you how to quickly correct this issue.

15.5 Modify the Layout of the Report

In this section, you will change the field to expand vertically if the contents of the break field are longer than the specified width. As you can see in Figure 15–6 , the width of the fields are fixed, but the names are incomplete. You will also add space to display between each record in the report. To modify the layout:

1. In the Object Navigator, double-click the repeating frame icon next to the R_G_

NAME node under Paper Layout Main Section Body M_G_Name_GRPFR, to display the Property Inspector. 2. Under Repeating Frame, change the Vert. Space Between Frames to 0.25, then press Enter. 3. Close the Property Inspector.

4. In the Object Navigator, under the Paper Layout node, navigate to Main Section

Body M_G_NAME_GRPFR R_G_NAME .

5. Double-click the icon next to the F_CUST_LAST_NAME field to display the

Property Inspector.

6. Under General Layout, make sure the Vertical Elasticity property is set to Expand,

then close the Property Inspector to accept your changes.

7. Follow steps 5 and 6 for the F_CUST_FIRST_NAME field.

You have now modified the layout of your report to display all the text in the wrapped fields, and added space between the records.

15.6 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. Click the Paper Design button in the toolbar to display the Paper Design view. Your report runs, then displays in the Paper Design view. It should look like the following: Figure 15–7 Paper Design view for the wrapped field report Save your report as wrappedbreak_your_initials.rdf.