This code creates the .txt file:
Code: Select all | Expand
DbSelectArea( 0 )
USE ( "ewocfx" )
COPY TO (cTxtFile) FIELDS Eveidn, Wrkdat, Srvmil, Wrkord, Vehsta, Vehlic, Indlid, Vehmak, Vehmod, Vehyer,;
Labcod, Labdes, Commnt, Veheng, Vehtrn, Vehsmd, Vehsty, Mlsser, Mgmsys FOR ! ewocfx->comple DELIMITED WITH PIPE
USE
This all works perfectly.
Then I execute the following to delete the .txt file, but it doesn't go away:
Code: Select all | Expand
FERASE( cTxtFile )
Thoughts on why this would not erase the file.