PreViewing first pages of report while generating is still going
I've got my own preview form with a ppPreview component on it.
The form also contains buttons for Next and previous page executing a ppViewer.PriorPage
and ppViewer.NextPage
What i would like to accomplish is that the user can use the next and previous
button while the report is still generating, but somehow this is not working.
All the reports i use are TwoPass reports, does this have anything to do
with it?
gr
Bas
This discussion has been closed.
Comments
(the cancel button i had created was not shown at the right moment) but when
I do a ppPreview.Cancel and than request the next page .. it starts generating
again without stopping till its all done.
Is it possible to cancel the generating process and when the user wants to
see the next page (that is already generated) it just displays that next
page. I should only restart generating when the user requests a page that
hasn't been generated before.
When you create a two-pass report, the report engine will by definition run
through each page (allocating space and making calculations) before showing
the first page in the preview window. Then as the user steps through each
page (second pass), each report component is generated and shown.
If you would like the report to show a single page on demand, it will need
to be a one-pass report.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com