Speed Up Large Script

hi

i have a report with about 1000 rows of pascalscript-code in it.

the report tooks approx. 10 sec. to "pop up".

the execution time seems not to be the problem. but the preparation time (whatever happens before "OnStartReport") will last about 8 sec.

what is the best way to improve the performance?
can i precompile the code and use ilcode also if i want to pass variables to the report before building it?
sorry, but i didnt understand this "precompile"-thing really ;)

thanks for your ideas

hoschi

Comments

  • edited 6:16PM
    Theoretically it's possible, but requires modification of the FR code. FR always compile a script when you run a report.
  • edited 6:16PM
    thanks for your quick answer. any other ideas what i can do to improve the performance in this case?

    thank you
  • gordkgordk St.Catherines On. Canada.
    edited 6:16PM
    Try to write common procedures that can be used by several events
    move some code items out to external functions where possible.
    ;)
  • edited 6:16PM
    will try that

    thanks ...

Leave a Comment