Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get the drive letter
Message
 
 
À
01/05/2008 17:52:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Divers
Thread ID:
01314645
Message ID:
01314667
Vues:
8
>When I open the project as a DBF I'm looking at the field 'name' but sometimes it has '.../dir1/test.prg' instead of the drive and fullpath. How can I get the drive and full path?

Try
USE myproj
* Project home directory from the first record
lcHomeDir = CHRTRAN(homedir, CHR(0), "")
* Move to some other project item
lcName = CHRTRAN(name, CHR(0), "")
? FULLPATH(lcName, lcHomeDir)
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform