>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only