>Carlos,
>
>I ahve seen DBF() and FILE() not agree when the operating system has cached the file and it is not physically on disk yet. I assume that FILE is reading the disk while DBF() is getting its return from the cache. This would probably behave differently with different operating systems.
The weirdest thing I've encountered so far was when I SQL Selected a cursor, then indexed it. The Config.fp had "sortwork=c:\scratch\" (it was back in 2.0) and the trouble was that the directory didn't exist. Really don't know how I got Fox to start at all - it should have complained it "cannot create workspace". The Display Status gave me something like "c:\scratch\12345678.tmp" - and reported that the file exists. Though, I couldn't reproduce this anymore, ever.