This can absolutely be done. I am doing this with FPW 2.6. As long as the source is newer than the currently compiled file Fox will recompile it on the fly. This can be used to compile anything but the application you are currently running. I store code to set up the data environment for reports in a memo field. When the users chooses to run the report I copy it out, compile it, and run it. Works great. NOTE: In VFP 6 SP3 you must manually issue the COMPILE command in order to compile such files...just a little change that threw me off for a while :)
>>I had a student recently ask me if you can store code in a memo field so it can be accessed, compiled, and executed at runtime. I think this is possible with the COMPILE command, yes?
>
>At runtime, No, AFAIK. You need to compile, which I beleive only became available in VFP6 SP3
Everything we see or seems
Is but a dream within a dream - Edgar Allen Poe