Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replace path
Message
From
24/04/2011 06:19:00
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Replace path
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01508234
Message ID:
01508234
Views:
114
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
Next
Reply
Map
View

Click here to load this message in the networking platform