>Hi,
>
>What is an example of a "bad" code that would produce error "File is not open"? I get an error report from a customer that shows this error message. The place is Init method of a form. I can't find what would produce this error. And I can't create a "test" line of code that would produce this error message. If I can produce this error maybe it will clue me on what is "wrong" in the Init method.
To simulate the error (if that's the error I have in mind), create a dbf on a thumbdrive, open it, pull out the flash drive, then try to scan that table. As soon as your navigation goes out of what's covered in the current buffer, Fox should ask for the next block from the disk and you should get this error. Or just try updating a record in it.