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

How to make a SubReport to get all width of page?

edited September 2009 in General
Hi,

I have one report like these:

- GroupHeader
--> Sub-Report
-- Header
-- Detail
-- Footer
- GroupFooter

My problem is... in Detail, of Sub-Report I have only one record, but I
want the footer, goes down.. to fill all page.. how I do these?

regards
Fellipe H.

Comments

  • edited September 2009
    Hi Fellipe,

    By design a child subreport will take as much space as it needs to print the
    components inside. One option is to manually extend the vertical size of
    the subreport by placing a static object inside one of the bands (such as a
    shape). Another is to use a Fixed style subreport rather than a Child.
    This allows you to size the actual Subreport object in the main report to
    the size you would like.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited September 2009
    Hi Fellipe,

    I'm sorry but I believe our news server deleted your latest post. Please
    repost your response when you get a chance.

    Thanks,

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited September 2009
    Ok,

    My last msg is: Can you send me a sample for these? I try, but nothing...


    Thanks,
    Fellipe.

  • edited September 2009
    Hi Fellipe,

    No example needed. Simply create a new report, place a subreport inside the
    detail band and set it to Fixed style. Then stretch the control to
    approximately the size of the page.

    Now the subreport will take the entire page regardless the content.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited September 2009
    I really try, but dont work.. can I send for you my report?

    Regards,
    Fellipe H.

  • edited September 2009
    Hi Fellipe,

    If you would like you can send a simple example in .zip format to
    support@digital-metaphors.com and I'll take a look at the issue.

    Have you considered simply setting your group to start on a new page?
    Setting the Group.NewPage property to True will break to a new page each
    time the group breaks.

    Another option would be to experiment with the PageBreak component below the
    subreport (ShiftRelativeTo).

    --
    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.