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
Miscellaneous
Thread ID:
00536063
Message ID:
00536271
Views:
9
File() could be finding that file in the FoxPro or DOS path or it may find it in the current directory. At least sys(2000) and adir() will respect the path as specified. My complaint with adir is that it creates memory variables which are not necessarily required.


PS Thanks for the star


>Thanks all for the responses:
>
>Well it looks like the app is somehow finding the file d:\appsvfp_6x\doc9000\documents\released\sop\sop-001_90.doc, which is on the computer JKT01. I don't know how it is finding it. I checked the vfp path and the dos path and the above directory is not in it. I guess I should use Glenn's suggestion concerning the sys() command.
>
>
><i>="\\jkt02\apps_vfp\documents\released\sop\sop-001_90.doc" </i> Doesn't exist!
>thisform.cDocFileName="\\jkt02\apps_vfp\documents\released\sop\sop-001_90.doc"
>file("\\jkt02\apps_vfp\documents\released\sop\sop-001_90.doc") = .t.
>file(thisform.cDocFileName)=.t.
>
>
>
>Kevin
Previous
Reply
Map
View

Click here to load this message in the networking platform