Stop stretching
I have a simple detail band that prints correctly. There is another detail
band under this one wich shiftwith the first one.
I want to limit the height of the first detailband, but keep the dynamic
height. So the report will print only on let's say 4 inches or less.
How can I do this?
Fred.
band under this one wich shiftwith the first one.
I want to limit the height of the first detailband, but keep the dynamic
height. So the report will print only on let's say 4 inches or less.
How can I do this?
Fred.
This discussion has been closed.
Comments
I'm a bit unclear about how you would like your report to behave. What
would you like to happen once the detail band reaches 4 inches? Also are
you using subreports for your second "Detail band"? If you would like it to
simply stop and break to the next page you can simply check the current
position of the detail band in the afterprint event and call
DetailBand.OutOfSpace. This will then print the footer and break the page.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
to
Forget about the other subreport.
Let me rephrase the problem (my englsih gets better and better each day...).
I have a simple subreport that shows details. Like normal, the subreport
streches itself to show all of the records of the pipeline.
I want to restrict the size that the subreport can use to, let's say 4
inches. I can't count the records and set it to 12 records, because the
subreport band contains a memo field wich makes the band stretch.
So it is possible, in some cases that the subreport shows only 1 row or
many. The subreport must stop growing at the limit of 4 inches even if
there are still records to print.
Putting my subreport in a region and not stretching the region do limit the
area that the subreport prints, but it always uses the 4 inches, even if
there are no records. If there is only a small record, I need the region
take only the minimum space.
I'm I clear enough?
Fred.