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

SubrepHeight

edited October 2003 in Subreports
Hi,

I have a subrep on a report.
Report1Footerband1Printheight = phStatic. Here i have my subreport on.
This subreport has a title with richtext, details and summery.

How can i get the real printheight of my subrep so that i can set my
ReportFooterband1Height.

Now i am losing a part of my subreport.

Thanx

Comments

  • edited October 2003

    You cannot resize the footer band. It must be static for the entire report.

    Try using a summary band or a group footer band.


    --
    Nard Moseley
    Digital Metaphors
    http://www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited October 2003
    Thanks, but the subrep has to be at the bottem of my page. And only at the
    bottem of my last page. That i do with report.twopass and test if lastpage.
    The heigt of my footer is static for the entire report. I set only the heigt
    in the beginning of the report.

    If i use summery, how con i set the subreport at the bottem of my page??



  • edited October 2003

    There is no way to determine how much page space the subreport will occupy
    until the report engine executes.

    You can set SummaryBand.PrintPosition to specify the vertical position on
    the page at which it starts to print. You cannot move the objects around in
    the second pass.

    --
    Nard Moseley
    Digital Metaphors
    http://www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.