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

Fixed area subreport

edited December 2003 in Subreports
Hello RB gurus!

I have (RB 7.02 D5 end-user report app) a master-detail report
which contains various details subreport.
One of these must fit in a fixed area.
In case of overflow the subreport must complete on a new copy
of the module.
(the report should be go on a new page, *reprinting
the master (as well footer, header) sections*)
Which is the simplest way (if any) to achieve this behaviour?

Thanks in advance

Bye
Nicola

Comments

  • edited December 2003
    Hi Nicola,

    Are you using a Fixed style subreport or does it just need to fit in a fixed
    area? If you are using a Child style subreport, try setting the
    KeepTogether property to True. If you are using a Fixed Style subreport,
    place the entire subreport inside a region with its KeepTogether property
    set to True.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited December 2003
    Hi Nicola,

    One more thing I forgot... You may also want to try using the
    Subreport.TraverseAllData property. This will cause the subreport to
    continue printing (on additional pages in the same exact position) until all
    data is traversed.

    --
    Best Regards,

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

    (Sorry for the delay...)
    I tried. The subreport keeps printing on the next page but the other
    sections of the report does not repeat.
    What I need is very simple. I have, for example, name and surname in the
    header and, below, my fixed area subreport.
    If the data in the subreport overflows, I need to continue in another
    page BUT I need also that name and surname get re-printed!
    Since this is an end user app, I am looking for a way to do this without
    coding (if possible)

  • edited December 2003
    Hi Nicola,

    Are the name and surname fields in the report header, group header, or the
    header of the subreport? Which type of subreport are you using (ie. Child,
    Fixed, Section)?

    --
    Best Regards,

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

    The report has only a detail band in which stay 15 subreports.
    Several of these subreports may overflow. In case of overflow the entire
    detail band should be re-printed as it is (a part form the subreport
    overflowing, obviously).
    The guilty subreport is a child type.
    Maybe this is not the optimal structure for this requirement (I am a rb
    newbie, as you can see..) ?
    Which is the best one to adopt?


  • edited December 2003
    Hi Nicola,

    Try creating a Region and see if that works better for you. Place the Name
    and Surname inside the Region. Set Region.ReprintOnOverFlow to True. Then
    create the subreport below the region. Put the Region and Subreport in the
    detail band. You can do this for each subreport if you need.

    DetailBand
    Region - set ReprintOnOverFlow to True
    Name
    Surname

    Subreport

    --
    Best Regards,

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