Home General

Two pass for groups?

edited July 2001 in General
Hello,

I want to print a report with a lot of records in the dataset. Each
record in the dataset is printed in an own group and each group starts
on a new page and has one up to four pages. For each group I want to
print the absolute number of pages for this group. For that reason I has
to use twopass to get to total number of pages of a group. Because of
the number of records in the dataset the report needs several hours for
the first pass so it takes several hours before the first page is
printed. Is there a possibility to calculate the absolute number of
pages of a group, print the pages and then go to the next group, or in
other words do a twopass on groups. To calculate the absolute number of
pages of a group it would be enough to look only at this group.

Cheers,
Edwin

Comments

  • edited July 2001
    What is the user's requirements? Can this report run in a timed process at
    3 am? It could be written to Archive file and then the users can use the
    ArchiveReader component to instantaneously preview and print the report
    because the pages have already been generated.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited July 2001
    It would be much better if the report starts printing immediately in some way.
    Is there
    maybe a possibilty with RAP? I found no solution so far.

    Edwin


  • edited July 2001
    Sorry, until the report has finished generation, the previewer won't allow
    you to traverse through the pages, and no pages will be sent to the printer
    until then.


    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.