Jump to content
JasperReports Library 7.0 is now available ×

How can I close a csv file used by a subreport after it finishes.


werther_1

Recommended Posts

I'm using Ireport 4.7.0. I start a report thru a groovy call passing java.util list. The main report passes a csv datasource to a subreport.

It works Ok and the report generates an Excel file, where the subreport is placed into a separate sheet of the .xls file.

The problem is that I need to delete this file after generating the report. How can I do this? I get an error message saying the file is in use by JAVA Platform SE Binary.

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...