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

Summary at bottom of page

edited December 2008 in General

Hi,

I want to print a summary at the bottom of the page.Since I'm still
using RB10.08 (and BDS2006), I used the method as described in the
SummaryAlignBottom example. This works fine, with one exception. I have
a subreport in the summary band, and this is printed too low on the
page. I've put the DrawCommandList.Add(aDrawCommand) for the fields on
my subreport.

Any idea how to solve this

Kind regards

Arno
--

Comments

  • edited December 2008
    Hi Arno,

    ReportBuilder 11 now includes a built-in feature that will automatically
    align the summary band to the bottom of the page.

    Be sure you are compensating for the position and size of the subreport when
    moving it's drawcommands from their current position to the bottom of the
    page.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited December 2008
    Nico Cizik (Digital Metaphors) wrote:


    Hi Nico,

    I know about that feature in RB11, but due to the financial situation,
    an upgrade will have to wait till 2nd quarter next year.

    Could you elaborate a bit about the compensating for position and size,
    maybe a small code example

    Kind regards

    Arno


    --
  • edited December 2008
    Hi Arno,

    In my testing with the AlignSummaryToBottom example, a subreport was
    successfully moved to the bottom of the page without overflowing or being
    cut off. If possible, please send be a copy of the example altered to show
    the behavior you mention 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 December 2008
    Nico Cizik (Digital Metaphors) wrote:


    Done, same subject as first post

    kind regards

    Arno

    --
  • edited December 2008
    Hi Arno,

    Thanks for the example.

    If you run the example and remove all the align summary logic, the summary
    band still looks incorrect near the top of the page. In order to have the
    components below the subreport shift downward as the subreport grows you
    need to place them into a region and set the region to ShiftRelativeTo the
    subreport. You can set the Pen style of the region to psClear if you would
    not like to see its boundaries.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited December 2008
    Nico Cizik (Digital Metaphors) wrote:


    Thanks Nico, got it working now.

    kind regards

    Arno

    --
This discussion has been closed.