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 5:49PM
    Theoretically it's possible, but requires modification of the FR code. FR always compile a script when you run a report.
  • edited 5:49PM
    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 5:49PM
    Try to write common procedures that can be used by several events
    move some code items out to external functions where possible.
    ;)
  • edited 5:49PM
    will try that

    thanks ...

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.