The watch window of the debugger states that the file exists
The trace window of the debugger on the line of code that tests for the existance fails
if file(xFile)
file(xFile)
So VFP cant agree with itself on this ???
BTW the value of xFile is a UNC path to a server share and file such as:
"\\Server_ii\MIS\MIS\Shared\Images\EmployeePics\_235\300x350.jpg"
Thanks !
>>placed this code before the if block
>>
>>lFileExists = File(xFile)
>>lFileExists returns .T. BUT the file DOES NOT EXIST and the debugger confirms that fact but the code in the trace skips the execution inside the if block !! ???
>
>FILE() returns .T. if the file is found in the CURDIR(), in any folder specified in SET PATH and also if a file of that name is bound into the executable.
Greg Foote
Software At Work, Inc.