Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File is not open. Error 1113
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01565618
Message ID:
01565628
Vues:
49
>>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.
>>I would appreciate any help.
>
>I found another little anomaly in this form. The INIT method of one of the bottons has the following code
>
>this.caption = GetFieldCaption(LOC_MY_FILE) 
>
>The LOC_MY_FILE is defined in an include file MyApp.h as following:
>
>#define LOC_MY_FILE 15
>
>But the location of the MyApp.h was wrong. That is if I open the form in the designed and go to Class -> Include File the file MyApp.h was showing in a wrong folder. So I am not sure if during compiling the form if the Define was "found"
>
>Could the above anomaly cause the error File is not open?

Nope,
that will generate an error like
Varirable LOC_MY_FILE is not found
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform