Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Last Folder
Message
 
 
À
13/07/2007 10:10:35
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:
01240186
Vues:
16
>Dear Experts
>
>There is folder named accounts in the following location
>D:\Projects\vfp\office\accounts
>How to get last folder name as
>
>Lastfolder=accounts
>
>Please help

One simple way would be to use RAT function, e.g.
LastFolder = substr(m.lcFullPath, rat('\', m.lcFullPath) + 1)
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform