Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Last Folder
Message
 
 
To
13/07/2007 10:10:35
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01240179
Message ID:
01240186
Views:
14
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform