Subreports And Groups Question
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
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
This discussion has been closed.
Comments
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
http://www.digital-metaphors.com
info@digital-metaphors.com