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

Keep together detail band of subreport

edited November 2004 in General
How can I keep the details band of a subreport from splitting across
pages?

Originally I was using a Tppregion in the detail band of a subreport to keep
the values for a record together on the page. This worked fine. However, I
now need to use several regions within this band to keep some stretchable
memos *and* their associated labels shifting relative to each other. As
regions can't nest I am looking for a new way to keep all the details band
together on the page.

The subreport has a group with KeepGroupTogether = true, yet the output
spilts the details band. Also tried setting NewPageThreshold but this seemed
to make no difference, it prints on the current page regardless of the
space.

Am I missing something?

Dave

Comments

  • edited November 2004
    Hi Dave,

    Are your groups not keeping together or is this another issue? Which
    version of ReportBuilder are you using? Since ReportBuilder does not
    support nested regions, you may need to use another subreport with its
    KeepTogether property set to true to keep your multiple regions together.

    If you believe this is an issue with the way RB is handling Groups, please
    put together a simple example demonstrating the issue and send it in .zip
    format to support@digital-metaphors.com and I'll take a look at it for you.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited November 2004
    Hi Nico,

    Yes groups not keeping together has given me problems. Then after much
    fiddling and odd results it started working and I don't understand why. If I
    can pin down the issue I'll send you an example, but it is being rather
    illusive! One of those Friday's I guess

    I got in a knot with my data over the alternative subreport within subreport
    approach and started an infinite generation loop. Now I have keeptogether
    working for the group this is not vital, but it would be useful for future
    to know how I should have set the datapipeline for the second subreport? Or
    maybe I should not have set it to anything?

    Thanks
    Dave

    "Nico Cizik (Digital Metaphors)" wrote
    you.
This discussion has been closed.