No problem, Roger. As of VFP6 Service Pack 3, COMPILE works at runtime in distributed apps.
>Thanks Larry:
>
>What about runtime when app is distributed to end user?
>
>
>>>Hello:
>>>
>>>I have a table wich has a memo called 'doit' field and would like to execute code from within it depending on the record.
>>>How do I execute it?
>>>
>>>After pointing to the right reccord, I tried:
>>> &doit
>>>
>>>also lcDoit = table.doit
>>
>>With VFP 7, you will be able to use ExecScript(). With VFP 6 SP3 (and later), you have to brute force it.
>>
>>copy memo DoIt to MyTemp.Prg
>>compile MyTemp.prg
>>do MyTemp
>>
>>HTH.
"Problems cannot be solved at the same level of awareness that created them." - Albert Einstein
Bruce Allen
NTX Data