Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File() returns .t. when file doesn't exist???
Message
De
26/07/2001 18:08:27
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00536063
Message ID:
00536089
Vues:
9
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?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform