Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File() returns .t. when file doesn't exist???
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
File() returns .t. when file doesn't exist???
Miscellaneous
Thread ID:
00536063
Message ID:
00536063
Views:
29
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
Kevin Emmrich
www.jkt9000.com
Next
Reply
Map
View

Click here to load this message in the networking platform