I am exporting data to a csv file using STRTOFILE. I set safety on before i issue the command and it prompts me to overwrite if the file already exists.
How do i trap the reply (ie. 'yes' to overwrite, or 'no' not to)?
SET SAFETY ON
STRTOFILE("Detail Report" + CHR(13), ALLTRIM(txtSaveAs), .F.)
Preston North End forever...