Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is the Function to Get Path
Message
From
18/03/2013 05:30:11
 
 
To
17/03/2013 10:59:47
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01568645
Message ID:
01568677
Views:
78
>I want to get the path as "\Data\ABC\XYZ\123.ps" From "E:\Data\ABC\XYZ\123.ps". What is the function to get so ?
>
>Harsh
Hi,

You want to specify a file in your path?? Why not only the directory? That is where we usualy use the path setting for, anyway to get to "\Data\ABC\XYZ\123.PS" from "E:\Data\ABC\XYZ\123.ps" try:

lcPath= "E:\Data\ABC\XYZ\123.ps"

right(m.lcPath,len(m.lcPath)-3)

Regards,

Koen
Previous
Reply
Map
View

Click here to load this message in the networking platform