>Would it also be possible if the string is a command?
>
>In VFP:
>cSelect = "Select * From mytable"
>&cSelect
>
>or
>
>cReplace = "Replace "+ctable+".field1 With "+cvariable+" For field2 = " + Str(nNo)
>&cReplace
Of course that syntax is not supported but I do not see why you could not execute:
oCtrl.Eval(cReplace)
George