Home General

PreViewing first pages of report while generating is still going

edited February 2010 in General

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

Comments

  • edited February 2010
    I'v done some more testing and found out I actually can Cancel the generation
    (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.
  • edited February 2010
    Hi Bas,

    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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.