Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Last Folder
Message
De
13/07/2007 10:56:59
 
 
À
13/07/2007 10:29:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01240179
Message ID:
01240231
Vues:
26
This message has been marked as the solution to the initial question of the thread.
>Dear Sir,
>
>I load my PJX file from this location
>D:\Projects\vfp\office\accounts
>
>[pre]
>lcFullPath=FULLPATH(CURDIR()) && D:\Projects\vfp\office\accounts
>LastFolder = substr(m.lcFullPath, rat('\', m.lcFullPath) + 1)
>?LastFolder
>[/pre]
>
>The above codes display noting
>
>Please help again

That is another thing then since

lcFullPath=FULLPATH(CURDIR()) is NOT "D:\Projects\vfp\office\accounts" but "D:\Projects\vfp\office\accounts\" (Notice the last backslash)


lcFullPath = FULLPATH(CURDIR())
lcFullpath = Left(lcFullpath, Len(lcFullPath) - 1)
lcLastFolder = Justfname(lcFullpath)


Carlos
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform