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

How print a group several times

edited February 2002 in General
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.

Thank.

Comments

  • edited February 2002
    There is a Report.PrinterSetup.Copies property whcih does exactly this.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited February 2002
    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.

    Thanks.

  • edited February 2002
    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.

    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.