Hi Senna,
>Yep, Both of you gave me a real cool solver, but it's not work with IF..ENDIF command, WITH...ENDWITH command, DO CASE...ENDCASE, any more idea ?
What version of VFP are you using? If its VFP6, you can do:
STRTOFILE(MyMemoField, 'C:\Temp\Temp.PRG')
COMPILE 'C:\Temp\Temp.PRG'
DO 'C:\Temp\Temp.PRG'
Otherwise, you may be out of luck.