>>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement