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

Baisc Question - New User

edited August 2001 in General
I need to generate a report which has to print out in a specific format.
I have a detail table which may or may not have enough records to generate
the ncessary lines of output to make the form print correctly. The obvious
answer would be add dummy records to the detail to make this work, but this
approach has other drawbacks. Is there a way to make the report generate a
minimum number of detail records? I did note that there is a property to
limit the total number of records.

Maybe someone could suggest another techinque to handle this.

Thanks Mark

Comments

  • edited August 2001
    If you are printing on a pre printed form, then you could use a fixed style
    subreport to print the detail records in a fixed area. You could also use
    an invisible title band in the fixed style subreport and set its NewPage
    property to true, so that each time the subreport prints, it will pritn on a
    new page.

    If you need to occupy a certain amount of space, you could calculate how
    many bands have printed on the page, and how much space they took up when
    they printer. So, then you could take the difference and change the
    PrintPosition property of the next band to the proper starting position on
    the page.


    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.