I have the following situation. I create a text file from a table that meet
a certain condition. I'm using the following command.
COPY TO ( cOutput ) FOR STORE <> "CA" TYPE SDF
IF no records meet the condition then FoxPro creates a file with zero bytes.
The problem that I'm having is that I cannot delete this file until I'm
completing out of FoxPro.
Here's the error that I'm getting.
There has been a sharing violation - The source or destination file may be
in use.
Does anyone know how I go about closing the file so that I can erase it in
the program?
Thanks