Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fclose
Message
From
07/02/2001 16:05:36
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Re: Fclose
Miscellaneous
Thread ID:
00473535
Message ID:
00473603
Views:
23
>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform