Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File() returns .t. when file doesn't exist???
Message
From
26/07/2001 18:08:27
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00536063
Message ID:
00536089
Views:
10
This message has been marked as a message which has helped to the initial question of the thread.
>From the command window I can type:
>
>
>?file("\\jkt02\apps_vfp\documents\released\sop\sop-001_90.doc")
>
>
>and this returns .f. as expected (the file doesn't exist). However inside an application I have I create a variable as follows:
>
>
>thisform.cDocFileName="\\jkt02\apps_vfp\documents\released\sop\sop-001_90.doc"
>** thisform.cDocFilename is built and the above is the final value)
>
>
>In the debugger, I put in the watch section file(thisform.cDocFilename) and the value returned is .T. !!!!
>
>Does anyone know why it does this?
>
>Thanks in advance,
>
>Kevin

Do you have a sop-001_90.doc somewhere in your path?
Previous
Reply
Map
View

Click here to load this message in the networking platform