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

List 2 table side by side

edited May 2002 in General
Hi, I need to print a listing of 2 tables side by side. both table are in
different length(it doesn't matter)
What I did was drop 2 TTables, 2 DataSources, 2 Pipelines 1 ppReport.
If I set ppReport1.DataPipeline to DataSource1, I got the Table1 listing on
the left side correct
but the right-side (Table2) keep repeating 1 record of Table2.
How can I make Table2 listing correct.
If I put a subreport in the detailband, it gives the same result.

Please Advice.

Thank In Advance
Hott

Comments

  • edited May 2002
    The reason is that the second pipeline is not being traversed and so the
    record counter of the second table is never being incremented. To accomplish
    this do the following:

    1. Do not assign a pipeline to the main report.
    2. Place two subreports in the detail band of the main report, set their
    ParentWidth property to false and size them to sit side by side.
    3. Assign the first pipeline to the subreport on the left and the second to
    the subreport on the right.
    4. Place datafields from the appropriate pipelines into each of the
    subreports.

    --
    Cheers,

    Alexander Kramnik
    Digital Metaphors

  • edited May 2002
    Great !!
    That why I like RBuilder. It seems nothing impossible. Just don't know how
    to accomplish
    and need you guys here.

    Thanks Alex.

    "Alexander Kramnik (Digital Metaphors)" wrote
This discussion has been closed.