Child (or not) subreport
Hi everybody,
I've a simple master detail report, as follows
report A row 1
report B row 1
report B row 2
report A row 2
report B row 3
Sometimes I need to print it whithout the master detail relationship, i.e.
report A row 1
report A row 2
report B row 1
report B row 2
report B row 3
Can this be archieved without using 2 different reports?
I.e. can I create the master detail report and, at runtime, "move out" the
child report changing its parent / owner or something?
Can this be done by RAP?
Kind regards,
Corrado
I've a simple master detail report, as follows
report A row 1
report B row 1
report B row 2
report A row 2
report B row 3
Sometimes I need to print it whithout the master detail relationship, i.e.
report A row 1
report A row 2
report B row 1
report B row 2
report B row 3
Can this be archieved without using 2 different reports?
I.e. can I create the master detail report and, at runtime, "move out" the
child report changing its parent / owner or something?
Can this be done by RAP?
Kind regards,
Corrado
This discussion has been closed.
Comments
If you simply remove the master-detail link from the datasets, your report
will look like the following due to the fact that the subreport will print
for each detail band.
report A row 1
report B row 1
report B row 2
report B row 3
report A row 2
report B row 1
report B row 2
report B row 3
The easiest solution would be to use two reports, one with the master detail
relationship and the other with two subreports in the detail band of a main
report. If you are insistant of keeping this as a single report object, you
could create a main report with only a detail band, then place two section
style subreports inside the detail band and create the master detail report
in the first subreport, and the report with two subreports in the second.
Then depending on which report you would like to view, you can toggle the
visibility of the section subreports.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com