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

how to print two instances of report with different data on the same page

edited March 2002 in General
I tried the way you suggested but its wrong!

I have two reports on one page but with the same data on both!

I am using a loop through the dataset and print
report for every record.

Eugene.

Comments

  • edited March 2002
    Sorry, I misunderstood you. You should use one subreport in the detail
    band. Remove the header and footer bands in the main report. Set the
    Subreport.PrintBehavior property to pbFixed. Add ppTypes to your uses
    clause. Check the help topic on this property for a description. Then resize
    the subreport's height to be half of the page. Now, place all of you report
    controls in the subreport. The subreport will print inside of the fixed
    area, which will be half of the page. It will print one record on each half
    of the page.


    Cheers,

    Jim Bennett
    Digital Metaphors

This discussion has been closed.