Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PageTotal and chained reports
Message
From
04/08/2006 00:39:52
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
01142661
Message ID:
01142903
Views:
10
Cathy,

thank you for the answer. This is may fear.

But this will end up with four runs four passes for some reports (those where I can not avoid _PAGETOTAL). Is there realy no way to trick the listener to do the pre-pass for each single report and then the second one for all together?

Agnes
>You have discovered the flaw with _PAGETOTAL. At the time each report is processed, it doesn't know about the rest of the reports you are about to send to it, so it only reflects up to the current report.
>
>You will have to resort to the old way of preprocessing to get the accurate page count.
>
>Cathy
>
>
>>Hi All,
>>
>>I have a problem handling chained reports.
>>
>>What I would like to do is chainging a bunch of reports and put a running pagenumber and a pagetotal over all reports chained on each page. In older versions I do a prerun with each single record, calculate the offsets and rerun it for output.
>>
>>Is there a way doing this with the PageTotal property of the listener?
>>I've tried NoPageEject but it seems the rendering is done completely after REPORT FORM and the NoPageEject only deals with chaining the reports in preview (and print them at once).
>>In fact the PageTotal property counts up from report to report but this far away from what I need.
>>
>>TIA
>>
>>Agnes
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Reply
Map
View

Click here to load this message in the networking platform