Home Subreports

pbSection subreport in summary band

edited September 2007 in Subreports
?I place some report component in summary band and then I add a
pbSection subreport under these components in summary band, but the
print out is the pbSection subreport print prior to the other report
components in the summary band!!
why will these happen?

I am using 7.03 version



--- posted by geoForum on http://delphi.newswhat.com

Comments

  • edited September 2007
    Kei,

    Try adding all your report components to a TppRegion, then set the subreport
    to ShiftRelativeTo that region. Also, try sending the subreport to the back
    using the Send To Back option when right clicking over the control.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited September 2007
    it seems that in pbSection type subreport, the ShiftRelativeTo property
    cannot be set!! (I am using RB7.03 version)

  • edited September 2007
    I can't set shiftRelativeTo in pbSection subreport, when I select a region
    in shiftRelativeTo and then move to other property, the shiftRelativeTo
    property clear automatically! So how to solve the problem (pbSection
    subreport print prior to the other report
    components in the summary band!!)
    the user name Peter is also me, which is the name I use in my home PC.
    hope for your help, thx!!


  • edited September 2007
    Hi Peter,

    Sorry, I misread that you are only using Section style subreports. In this
    case the z-order controls which order items are printed with respect to the
    subreport. Sending the subreport to the back (Send To Back option) will
    cause the subreport to be printed first. I did a quick test and this worked
    correctly on my machine.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited September 2007
    that means if I want the subreport to be printed after other controls in the
    summary band, I should use bring to front of the pbSection subreport? (I am
    kei)


  • edited October 2007
    Hi Peter,

    Yes, the front-most component in a band will print last.

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