Problem With Archive Reader
I'm storing raf files in a db. When a user wants to see them I get
the archived report from the db and save it to a file on their C
drive and then use the Archive Reader to display the report.
After displaying the report when I try to delete the file the system
wont let me because the 'file is in use'. What do I need to do to
have the Archive reader free the file so I can delete it?
I'm using Delphi 7 // Report Builder 9.01
Craig
the archived report from the db and save it to a file on their C
drive and then use the Archive Reader to display the report.
After displaying the report when I try to delete the file the system
wont let me because the 'file is in use'. What do I need to do to
have the Archive reader free the file so I can delete it?
I'm using Delphi 7 // Report Builder 9.01
Craig
This discussion has been closed.
Comments
Try calling ArchiveReader.Reset. That will close the file.
--
Nard Moseley
Digital Metaphors Corporation
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com