You can use the PrintPosition property of the SummaryBand to define the vertical position of the band on a page. This property is measured in report units.
Right, this works very well if PrintHeight=phStatic. What if PrintHeight=phDynamic? In other words, if the height of my summary band is dynamic (/unpredictable), how can I still ensure that the bottom of the summary band is aligned with the bottom of the page?
Unfortunately there is no built-in way to determine the dynamic height of a band before it is generated. Take a look at the following example of how this can be done in code by manually moving each drawcommand.
Comments
You can use the PrintPosition property of the SummaryBand to define the
vertical position of the band on a page. This property is measured in
report units.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Right, this works very well if PrintHeight=phStatic. What if
PrintHeight=phDynamic? In other words, if the height of my summary band is
dynamic (/unpredictable), how can I still ensure that the bottom of the
summary band is aligned with the bottom of the page?
Thanks in advance,
Tyler
Unfortunately there is no built-in way to determine the dynamic height of a
band before it is generated. Take a look at the following example of how
this can be done in code by manually moving each drawcommand.
http://www.digital-metaphors.com/tips/AlignSummaryToBottom.zip
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com