>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?