TextPipeLine and File Problem
I am using a text file to create the input for a report using
TppTextPipeLine. The test file is created by SavingToFile from a
TStringList. After creation of the first report, however, subsequent
attempts to create a new text file for another report give an error "Cannot
create file "xxxxx.txt". The process cannot access the file because it is
being used by another process."
I am assuming that something must be "freed" to make the file available for
reuse but I am not sure what it is.
TppTextPipeLine. The test file is created by SavingToFile from a
TStringList. After creation of the first report, however, subsequent
attempts to create a new text file for another report give an error "Cannot
create file "xxxxx.txt". The process cannot access the file because it is
being used by another process."
I am assuming that something must be "freed" to make the file available for
reuse but I am not sure what it is.
This discussion has been closed.
Comments
Try closing the pipeline before trying to re-create the text file.
TextPipeline.Close.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com