Merge the Two Layouts

Building a Group Left Summary Report 13-9 as you drag. Similarly, the second layout is moved down to avoid being overwritten.

8. With R_G_CUSTID still selected, choose Tools Property Inspector.

9. Change the Vert. Space Between Frames property to 0.25.

10. In the Object Navigator, select M_G_CUSTID1_GRPFR1.

11. Click the title bar of the Report Editor to return to the Paper Layout view. 12. Using the toolbar along the top of the Paper Layout view, turn Flex Mode off.

13. Using the arrow keys, move M_G_CUSTID1_GRPFR1 and its contents inside of

the first layout. Figure 13–8 Paper Layout view with two layouts merged into one

14. Click the Paper Design button in the toolbar of the Report Editor to display the

Paper Layout view. Notice how the summary table now repeats for each customer. 13-10 Oracle Reports Users Guide to Building Reports Figure 13–9 Paper Design view with two layouts merged

13.6 Format Fields

In the Paper Design view, notice the monetary 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, shift-click the values underneath the Itemtot and Sum

Total . 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 Itemtot field

approximately 0.5 inches 1.5 centimeters to the left. Repeat for the Sum Total field. Try to have the right boundaries of the two fields align with each other. 5. Click the Align Right button. All of the values are immediately right aligned.

6. Shift-click the Itemtot label and the Sum Total label.

7. Click the Align Right button. 8. Save your report as grp_above_summ_your initials.rdf. Building a Group Left Summary Report 13-11 Figure 13–10 Combined group left and tabular report output

13.7 Summary

Congratulations You have successfully created a group left summary report. You now know how to: ■ create two queries with a data link between them. ■ create two separate layouts. ■ combine the separate layouts into one. ■ format monetary values. 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 .