>Hi Josh:
>
>Thisform.text1.value is the drive that the user selects so ....
>
>current value of upldp = c:\wincats\upld\
>
>after they select new drive i.e g:\ the value is g:\ but I only want
>drive name replaced so the result I want is G:\wincats\upld\
Hi Sheena,
Won't JustDrive(lcdir) + SUBSTR(upldp, 3) work? Of course, if you're using VFP 5.0 and don't want to use foxtools, that'd be LEFT(lcdir, 2) + SUBSTR(upldp, 3).
hth,
George
Ubi caritas et amor, deus ibi est