Skip Blank Page
Hello,
I am conditionally setting ppDetailBand.Visible to False. My problem is
that if all the detail lines are suppressed, a blank page is produced. I
need to skip the blank page.
I have tried using a ppVariable as a counter based on ppDetailBand
visibility. But even when the line is not visible the counter increments.
I intended to use the ppGroup.ForceBreak if the counte remained at zero.
I would really appreciate any help. Using ReportBuilder Pro 6.03 with
Delphi 6.
Thank you,
Mike
I am conditionally setting ppDetailBand.Visible to False. My problem is
that if all the detail lines are suppressed, a blank page is produced. I
need to skip the blank page.
I have tried using a ppVariable as a counter based on ppDetailBand
visibility. But even when the line is not visible the counter increments.
I intended to use the ppGroup.ForceBreak if the counte remained at zero.
I would really appreciate any help. Using ReportBuilder Pro 6.03 with
Delphi 6.
Thank you,
Mike
This discussion has been closed.
Comments
space on the page, for example a header or footer band? Colorize all band
with a shwp to see where they are printing. if a band does not contain any
components, it will still print ona page.
Is there any way you could skip the records on the dataset instead of trying
to suppress the detail band? This will be easiest way.
The other option you have is to print the report to a page cache in memory,
the free the page and update all the page objects with new page numbers and
print from the cache. The follwoing demo shows how to print to a cache and
reorders the pages and assigns new page numbers on the page objects (this is
necessary to do wit this technique).
http://www.digital-metaphors.com/tips/Booklet.zip
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com