1. In the main report, insert a group (BB31615) using the first field as the main group.
  2. Insert a subreport (BB61682)
  3. In the subreport, insert a group using the other field as the main group.
  4. Place the subreport in the Report Header or Report Footer of the main report.