Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File is not open. Error 1113
Message
De
09/02/2013 16:07:00
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01565618
Message ID:
01565651
Vues:
42
>>>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.
>
>Thank you very much. I will try to simulate this error but without a thumbdrive, if I can.
>
>What I don't understand is that when you say "try to scan" the table. Usually Scan starts with SELECT (AliasName), then SCAN. But if I SELECT an alias that does not exist, I will get a different error. What am I missing in the SCAN?

Select (alias) will not cause disk activity. It will just make the buffers for that alias the currently selected ones. During the scan, however, if the table is long enough, Fox will ask for some blocks that aren't in the buffers - and the OS will try to get them from the missing disk. It will bang.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform