IF You Use VFP8:
methodcode = FILETOSTR("MyMethodCode.PRG")
EXECSCRIPT(methodcode)
In previous versions:
COMPILE MyMethodCode.PRG
DO MyMethodCode.FXP
Ofcourse You must check for errors.
HTH
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.