Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File() returns .t. when file doesn't exist???
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00536063
Message ID:
00536271
Vues:
8
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform