Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fclose
Message
De
07/02/2001 16:05:36
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Re: Fclose
Divers
Thread ID:
00473535
Message ID:
00473603
Vues:
22
>>Larry, here is the code:
>>
>>lnLogFile = fcreate(alltr(thisForm.txtLog.value))
>>do upload with lnLogFile
>>fclose(lnLogFile)
>
>What does upload do? Could it possibly be closing the file in addition to whatever else it does? If so, the fclose() after it will return .F.. Also, you can put a suspend after the "DO UPLOAD" line and check the output of DISPLAY STATUS. It will show waht files are currently open using Fopen/Fcreate.
>
>HTH.

Since you're calling UPLOAD as a procedure, lnLogFile is being passed by reference. Aside from checking to see if UPLOAD closes the file, you might also check to see if it changes the value of the parameter.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform