0

I need to create an extesion to "cleanup" some things after each report generation, the output format does not matter.

I need this because I created a script function extension to obtain a JDBC connection inside the scripts.

If the programmer forget to close this connection the "Cleanup Extension" must do the dirty work (like a garbage collector).

What extension I need to extend to do this?

Beto Neto
  • 3,962
  • 7
  • 47
  • 81

1 Answers1

0

You could use a invisible layout element at the very end of your report and add the cleanup code to its onCreate event (if you are using RunAndRenderTask).

hvb
  • 2,484
  • 1
  • 10
  • 13