How can add blank TDetailBand at run-time?
Dear all:
I created a report that I want print exactly 5 TDetailBand on each page. If
there are less than 5 detailbands on the last page, I have to add extra
blank detail bands, I mean it has the border, lines, shapes, etc., but no
data. Currently, I add temporary blank records into the dataset before
printing, and delete them after printing. But I think this is not a good
implementation. What's the standard, or better solution? Thanks for any
help.
Regards,
George
I created a report that I want print exactly 5 TDetailBand on each page. If
there are less than 5 detailbands on the last page, I have to add extra
blank detail bands, I mean it has the border, lines, shapes, etc., but no
data. Currently, I add temporary blank records into the dataset before
printing, and delete them after printing. But I think this is not a good
implementation. What's the standard, or better solution? Thanks for any
help.
Regards,
George
This discussion has been closed.
Comments
Report.OnEndPage event to draw lines after the page has been generated right
before it is sent to the output device. You could modify this demo to print
on the last page only and draw the lines and shapes.
http://www.digital-metaphors.com/tips/FillPageWithLines.zip
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
page, is to use the PageStyle band. This band can be resized to the height
of the page. It will print behind all the other bands that generate. You can
create the lines in the PageStyle and it will appear as if the detail bands
generate within the lines.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com