A Master Detail Report displays grouped items as group headings and the other data items in columns below the group break. A new heading is printed for each new group or each page.
To sort and group your data:
- From the Request Manager, highlight the Request LESSON4.
- Click the Preview icon on the toolbar to look at the output in the Preview window. Notice that the Make and Model are very wide columns. The values for Make and Model also repeat on multiple lines.
- Click the X on the upper right corner of the Request Preview window to close the window.
- From the Request Manager, right-click on LESSON4.
- Click on Save As… and change the Request name to xxxLESS4 (substituting your initials for xxx).
- Change the Title to “Cars Inventory Master-Detail Layout.”
- Click OK.
- Right-click on xxxLESS4 and choose Output from the menu. This is a shortcut for getting to the Specify Output tab on the Workbench window.
- Select the Report-Master/Detail w/Group Headings in the Type drop-down box.
- Click the Sort and Group Results tab.
- Double-Click Cars Mileage to add Cars Mileage to the current sort list.
- Make sure the sort list shows Make, then Model, then Mileage. Drag items up or down in the list if necessary by clicking on the grey box to the left of the item.
- Highlight Cars Make and click on Group.
- Right-click on Cars Make and click Group Options.
- In the Appearance tab, clear the box labeled Show Group Footer and any other checkboxes that are checked underneath Show Group Footer. This will hide the footer from appearing for Cars Make.
- Highlight Cars Model and click on Group.
- Right-click on Cars Model and click Group Options.
- In the Appearance tab, clear the box labeled Show Group Footer and any other checkboxes that are checked underneath Show Group Footer. This will hide the footer from appearing for Cars Model.
- Click the Save icon on the Design Preview toolbar.
- Click the Close icon on the Design Preview toolbar.
- Highlight the Request and click the Preview icon on the toolbar to preview it.
- Click the X on the upper right corner of the Request Preview window to close the window.