Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Check if file exists only in a particular place
Message
De
09/10/2007 17:13:08
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
09/10/2007 02:46:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01258744
Message ID:
01259879
Vues:
22
>Actually File() is reliable IF you specify a non-empty path. File('yourpath\yourfile.dbf') will give the correct result. But both File('\yourfile.dbf') and File('yourfile.dbf') will give the WRONG result if yourfile.dbf is NOT in the root, but in another directory in the path. I prefer to always use Afile(temp,'\yourfile.dbf')>0 since it is ALWAYS reliable.

And isn't that what I already did in first post:)
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform