>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.
OffThere is no place like [::1]