Empty subreport
Hello all,
I have a report with a subreport. When the Datapipeline of the subreport is
empty I don''t want it to print.
The height of the detailband of de mainreport is set to 20 pix. The
subreport is located at the bottom of the detailband. But when is it not
printed I still see white space (where de subreport would be printed if not
empty).
How can I solve this? (Something like a PrintIFEmpty property of the
subreport set to false)
Best regards,
Jos Aikema
LocusWMS bv
Almere - The Netherlands
I have a report with a subreport. When the Datapipeline of the subreport is
empty I don''t want it to print.
The height of the detailband of de mainreport is set to 20 pix. The
subreport is located at the bottom of the detailband. But when is it not
printed I still see white space (where de subreport would be printed if not
empty).
How can I solve this? (Something like a PrintIFEmpty property of the
subreport set to false)
Best regards,
Jos Aikema
LocusWMS bv
Almere - The Netherlands
This discussion has been closed.
Comments
report, use the ShiftRelativeTo feature of the controls below the subrepotr
to shift up when the subreport doesn't print. If you have no other
stretchable controls below, then drop the other controls in a TppRegion
below the subreport and set the region to ShiftRelativeTo.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
The report looks like
Articlenumber description
315686 This is a article <-- Mainreport detail 1
Dit is een artikel <-- subreport detail 1
Ce'st un article <-- subreport detail 2
588978 Another article <-- Mainreport detail 2
Een ander artikel <- Subreport detail
When there are no records of the subreport, the report should look like:
Articlenumber description
315686 This is a article
588978 Another article
If there is no data, the subreport won't print. Thats okay but is left some
white space below the detail of the mainreport.
How can I solve this??
On 3-Apr-2003, "Jim Bennett \(Digital Metaphors\)"
check to make sure that there isn't a bottom offset in the detail band as
well. It works correct in our tests here. Can you send a simple zipped demo
using DBDemos that shows the problem to support@digital-metaphors.com
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com