Home Subreports
New Blog Posts: Merging Reports - Part 1 and Part 2

Subreports And Groups Question

edited September 2003 in Subreports
I have a report that is generated from one query with 2 groups. I'm trying
to put a subreport into each group so I can get detail and totals by group.
I toggle the subreports visible property based on which group the user would
like to see. I'm having problems with the titles/headers printing/not
printing. If I use headers, they do not print at all. If I use titles, a
title prints for each detail item in the subreport. I guess the question
is, can subreports be used with groups and how are they implemented.

Thanks In Advance

Comments

  • edited September 2003
    Hi Gary,

    Child type subreports do not support page headers and footers. Sounds like
    you want a master detail report. You'll have to create a master detail
    relationship with the data access and use two separate pipelines. The master
    pipeline should be conencted to the main report and the detail pipeline
    connected to the subreport. See the master detail subreport examples in the
    main report demo project located in the RBuilder\Demos installation
    directory. They also make use of groups in conjunction with subreports in
    order to get different layouts configured.


    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.