This code creates the .txt file:
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
USEThis all works perfectly.
Then I execute the following to delete the .txt file, but it doesn't go away:
FERASE( cTxtFile )Thoughts on why this would not erase the file.
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit