>>
>>So I think you couldn't bother about this, but I am veeeery lazy too and I think programing 100 CASEs is more complicated and difficult to maintain then EXECSCRIPT(SomeField) ...
>
>I tried you suggestion with EXECSCRIPT and it does seem to be very easy and practical. And I can include the .DBF where I store the code inside the application file so customer cannot meddle with it.
>
>Thank you very much for your help.
Be aware of the problem with EXECSCRIPT that it can not see SET('procedure') functions. Better use old approach with strtofile and compile if you need to use some existing classes or functions.
If it's not broken, fix it until it is.
My Blog