>Hi friends:
>
>Till now I blame this to the fast user's fingers but now I know it's not so.
>
>Before trying to open a file I check if it exists.
>
>If FILE(cFile) returns .F. I create it.
>
>A few year ago I had this problem with Clipper (DOS) and a net. The result was I used to lose data. So I solved warning the user and the time I oblige him to read the warning was the time the S.O. found the file.
>
>Now I have the same problem but there's not a net.
>
>First Windows Vista, now Windows XP.
>
>Any of you know why FILE returns .F. althought the file exists?
>
>And more important. Do you know any secure option?
>
> Héctor
File may return false positives.
I suggest to check with
if empty(sys(2000,lcFullPathName)) && file doesn't exist
If it's not broken, fix it until it is.
My Blog