Detect Subreport out of room in a static band
D6 RB7.04 EUR with RAP and DADE
I have a two column report that has a fixed detail band. The detail
band has a subreport sized to the band. The subreport itself has
subreports that scan dataviews and are of variable height.
Usually everything fits but if it doesn't I want to put out an
indicator that it didn't.
How can I detect the truncation?
Thanks,
Rick Matthews
Dartek Systems Inc.
I have a two column report that has a fixed detail band. The detail
band has a subreport sized to the band. The subreport itself has
subreports that scan dataviews and are of variable height.
Usually everything fits but if it doesn't I want to put out an
indicator that it didn't.
How can I detect the truncation?
Thanks,
Rick Matthews
Dartek Systems Inc.
This discussion has been closed.
Comments
Thanks,
Sorry about the delay in this response, my newsreader did not pick up your
first post for some reason.
You should be able to use the DetailBand.OutOfSpace property to detect if
there is going to be an overflow. If you want to place a message when this
happens, you could code something like the following inside the
DetailBand.AfterGenerate
if ppDetailBand1.OutOfSpace then
ppLabel3.Visible := True
else
ppLabel3.Visible := False;
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
thanks very much.
Cheers,