Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Too long time to preview a repo with multi band
Message
From
10/12/2008 02:17:48
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
09/12/2008 22:23:32
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
01366156
Message ID:
01366392
Views:
9
>My report prints 60 pages, it takes 2 minutes. I had found and remove stuff but it did small faster. Too long time to wait see preview pages.
>Can you suggest me a way to solve that problem , please!
>Thanks

Hi I have had a look at your report.

There is something you can do.

Your report uses a lot of functions like iif on a lot of places.

Try to reduce those calls

You can run a SELECT SQL and use the result of this to display (goes normally faster)

avoid ALLTRIM(x1)+alltrim(x2) use x1-x2 (- string operator) instead

Is there realy a need to print 60 pages at once? From my own experience nobody looks through such a lot of pages. Can you reduce the amount of data?

Anyway 2 minutes for 60 pages means 2 secondes processing time for each page, this sounds reasonable.

Try to compare the "printig time" of the report with REPORTBEHAVIOR 80 (this is the time between clicking the print button on preview and the time the progress window disapears.) Are there main differences?

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