>Now, that I have converted my application to VFP 5, I have found that the ERASE command is not working all the time.
>
>Sometimes, it return "File access is denied". There is no way the file can be use by someone else. Like I said, this was working 100% in VFP 3 and now it only works about 999 times out of 1000.
Check your disk for Lost Clusters, etc. A good diagnostics program can sometimes point out why this is occuring.
HTH,
Tom