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

Printing section

edited April 2006 in General
I have a master / detail report.
In the page footer I'have placed a region with a subreport in it where
i need to print some records wich key is the same of the master (sort
of another detail of the master), but the records are not printed at
all. Also some label in page title e page footer of the subreport are
not printed.

RB10.02 / D7

Comments

  • edited April 2006
    Hi Max,

    Which dataset is the subreport in the footer attached to? Is this dataset
    linked to the Master dataset as well as the Detail dataset (hopefully
    located in the detail band). Note that the page footer band is a static
    height band and cannot stretch with your subreport. If this band is too
    small, your subreport records will be cut off.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited April 2006
    The detail dataset is linked to the master by the primary key (via
    mastersource,masterfields,indexfieldnames) and it is in the detail
    band

    Also the dataset that should be printed in the region is linked to the
    master by the primary key.

    To test i placed 3 grids on a form, and the 2 detail shows the right
    number of records expected for the master primary key.
    To test, in the designer, i changed the datapipeline of the detail
    setting with that of the region ... all the records (only two
    actually) are printed


  • edited April 2006
    Hi Max,

    Are you sure your region has its Stretch property set to True?

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited April 2006
    "Nico Cizik \(Digital Metaphors\)"
  • edited April 2006
    Hi Max,

    Ok, sorry I thought for some reason you had moved the region to the detail
    band of the main report. Stretchable components will not stretch in
    non-dynamic height bands. Try setting your subreport to a Fixed style and
    make its height the same height as the region/band. Note that this will
    only print the data that can fit in that amount of space due to the fact
    that the footer band is not dynamicly sized.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.