I want print a report several times depending the group that i have declared. I have print several times the groups: Header, detail, footer for the record that i want.
It solution don?t run correctly, buy i want print per example: the first record two twice , the second record one twice, the third record 5 twice. All about the some report. It depend of an field in the record.
Use a master-detail report configuration. The subreport should contain what used to be in the main report. Include the grouping in the subreport. Connect the main report to a master dataset. This master dataset will have to be created such that you will have duplicate master records to represent the number of times that you want to have the detail subreport printed. This lets you leverage the master-detail & report-subreport configuration to do the work for you. As each master is traversed, a subreport in the detail band will generate. For the example you gave, the master dataset will have N records, one for every group that you will want to reprint.
Comments
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
record two twice , the second record one twice, the third record 5 twice.
All about the some report. It depend of an field in the record.
Thanks.
used to be in the main report. Include the grouping in the subreport.
Connect the main report to a master dataset. This master dataset will have
to be created such that you will have duplicate master records to represent
the number of times that you want to have the detail subreport printed. This
lets you leverage the master-detail & report-subreport configuration to do
the work for you. As each master is traversed, a subreport in the detail
band will generate. For the example you gave, the master dataset will have
N records, one for every group that you will want to reprint.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com