Multi-pages report
How can I make a four pages report? I want almost the same thing on every
page. Three pages differ by the value of a label. I know I can code an event
to handle this but on the fourth page I have a field with a value taken from
a data-base. Any ideas of how I can make such a report?
Regards,
Paul
page. Three pages differ by the value of a label. I know I can code an event
to handle this but on the fourth page I have a field with a value taken from
a data-base. Any ideas of how I can make such a report?
Regards,
Paul
This discussion has been closed.
Comments
I went ahead and created a small example showing how I would go about doing
this. This example essentially creates a report with a lable and a Fixed
style subreport inside the detail band with PrintCount set to 1, and
AutoStop set to False. Then connected the dataset to the subreport leaving
the main report without data. Finally with the use of the
DetailBand.BeforePrint event and the Visibility property, I was able to get
the effect you were after. Remember to set the Report.PageLimit to 4.
http://www.digital-metaphors.com/tips/DataOn4thPage.zip
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
back to the third from the fourth page and then to the second I see the
content of the fourth page on the current page. Any ideas of how I can avoid
that? Maybe include three sub-reports in the main report? I've tried
something like that but I see the content of the first sub-report on the
second and third sub-reports. I think I'm not configuring something right.
If you have another idea of how to do it, I'm opened to suggestions!
Regards,
Paul
Try setting the Report.CachePages property to True. This will store the
original pages into memory.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com