Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replace path
Message
From
24/04/2011 14:30:03
 
 
To
24/04/2011 06:19:00
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01508234
Message ID:
01508270
Views:
41
>hi all,
>i try to add path at the field via this code,
>this code rename all as .doc,if i change .doc to tif it take all as tif
>the folder ta3ameem2010 have tif,.doc,.pdf.bitmap immage,jpeg....etc
>i need to replace the extention as it is
>thanks
>
>
> replace mycur12005.clint with iif(file("d:\ta3ameem2010\" +alltr(mycur12005.fielda )+".tif"),"d:\ta3ameem2010\" +alltr(mycur12005.fielda )+".DPF","d:\ta3ameem2010\" +alltr(mycur12005.fielda )+".doc") ALL in mycur12005
>
>
>
>
>thanks

Could you provide some examples of the values in FIELDA, what particular files exist, what results you are getting, and what results you want?
Previous
Reply
Map
View

Click here to load this message in the networking platform