Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

navigation

edited May 2006 in General
?Hello

I create a report with several header (one header for the fisrt page and
another header for the others pages), on footer. In the detail band there
are several subreports. Some information appear on the first page and I
overdo the other information on the new page. All my information appear
correctly in the preview. But when I navigate (before-back)in the preview
the displaying is not correct: The 2 presentations are mixing.
What can I do?

Best regards
Rege



--- posted by geoForum on http://delphi.newswhat.com

Comments

  • edited May 2006

    - by default, each time you navigate to a page, the page is generated on the
    fly. The dataset record position as of the start of the page is restored and
    the page, band and component fire as the page generates.

    - one option is to set Report.CachePages to True. That way each page will be
    generated only once.

    - the other option is to check your event-handler code and make sure that is
    able to function properly. Use TppVariable components to perform all
    calculations (they know how to save/restore intermediate results between
    pages, so that the claculations work properly)


    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.