Home General

gap between detail band and footer band

edited June 2010 in General
Hello,

We are using Delphi 5 and Report Builder 6.03. Some RTM files (All Data and
Label Components, Grouping, Header, Footer, Details Bands) are generated
through dynamic coding.

We have a vertical line that runs through the entire detail-band;the height
of the line is equal to that of the detail band. In the footer band we have
a horizontal line kept right at the top with top=0.Currently these 2 lines
have a small gap between them. We are not able to get rid of this small gap.
Even keeping bootomOffset=0 for the detail-band does not solve the problem.
Is there a way that we can make the vertical line of the detail-band meet
the horizontal line of the footer-band?
This vertical line however does meet the horizontal line of the
group-footer-band when we use groups.

Please help

With regards,
Bala

Comments

  • edited June 2010
    Hi Bala,

    The footer band is always printing in a static location at the bottom of the
    page. In order to have the lines match up, you need to be sure the top of
    the footer band is located exactly where the bottom of the last detail band
    will be on the page.

    Other options (as you mentioned) are to use the group footer band which
    always prints directly after the last detail, or use the PageStyle to draw
    the complete border.

    --
    Regards,

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

    Best Regards,

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



    Thanks for the reply.

    But not able to find the bottom of the last detail band.

    Is there any way to locate the bottom position of the last detail band on
    the page?



    Regards,

    Bala





  • edited June 2010
    Hi Bala,

    There are no built-in features to determine the bottom position of the last
    detail band printed on the page. You will need to measure manually in order
    to determine the location. Take a look at the following example on placing
    a line after the last detail on a page. This may be helpful in trying to
    locate the last detail band and measuring how large the footer band needs to
    be.

    http://www.digital-metaphors.com/rbWiki/Delphi_Code/Formatting/How_To...Draw_a_Line_After_Last_Detail

    Though you may get the above to work, note that the ReportBuilder engine is
    not designed to connect the Footer band and Detail band exactly. I highly
    suggest pursuing a different approach as I mentioned in my previous post.

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