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

TWO REPORT IN ONE REPORT

edited August 2004 in General
Hi,

I want to have two headers and two details in one report. The scenario
is like this, in a letter size paper I want print the document twice on
it with only one difference which is the label/caption of the header and
the rest are the same.

What Iam printing is a sales invoice which is only half a letter size
paper. The reason I want to print it twice or should I say there are two
part is the first one will be the original copy and the other will serve
as the duplicate copy.

Is this possible?

Thanks


James

Comments

  • edited August 2004
    James,

    you want to 'mirror' a given layout, this is something that i want to
    maybe DM can put this on their todo list
    would be nice to have

    in the mean while (i'm shooting in the dark here) you could try putting a
    fixed style subreport into the group footer of the main report
    in the subreport you'll need to hook a second pipeline to the same
    datasource, but with only 1 record in it (you could do this when using
    clientdatasets and filtering in the ongroupchange event of the main report)
    in the subreport you'll need to mimic the main report group footer and the
    header (cause you'll need to 'end' the first copy)
    it's certainly doable (given the fact that you only need the half page to
    print the invoice, otherwise it'll be tricky)
    hope this helps you start
    cu
    marc


  • edited August 2004
    Hi James,

    I would suggest creating two TppRegions inside your main report's detial
    band. Size these regions to exactly half a page, then create your copies of
    the same report inside each region. If you need to traverse detail data,
    simply place a fixed subreport in each region. Be sure you are using a
    static height detail band in your main report.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited August 2004
    Hi Marc Antheunis and Nico Cizik.

    Thanks to your time and advice. I will try and hope I have understand
    your message right. Good luck to me =) heheh

    Regards,
    james
This discussion has been closed.