Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Retreive path one directory up
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00894269
Message ID:
00894540
Views:
10
>but there must be a function that I can use to get to both filename and directory path from a variable "x". Thanks in advance
>
Nick,

My friend David gave you the answer. There are functions (now) in VFP (before they were in Foxtools), that give you the extension, path, primary part of the file name and so on.

The only reason I'm posting this is to tell you to let your imagination be you're guide with them. For example
lcfield = JUSTEXT(MyAlias.Myfield)
will return Myfield. The same thing applies with objects.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform