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

generating pages

edited January 2007 in General
Hello every one,
I am now printing a report (stored in one record) that take a complete page,
in this report there is a field called serial number and the user specify
serial range (from-to), I need to print the same report in each page but
with different serial number in each one as specified by the user

I know how to pass parameter but I dont know which method I should use to
generate pages from the same record

Thanks

Comments

  • edited January 2007
    I forget to say I am also need to print number of copies for each serial, I
    I think I can do that with "PrinterSetup.Copies" property

    thanks
  • edited January 2007
    nver mind I figure it out, here the code I used

    FLabelsPerRecord := Report.Parameters['pSerial_To']
    - Report.Parameters['pSerial_From'] + 1;

    Report.DetailBand.BandsPerRecord := FLabelsPerRecord;

    thanks
This discussion has been closed.