Take a look at COMPILE and EXECSCRIPT commands.
>Does somebody has any idea of how to achieve this task?
>
>I save in memo fields validation routines.
>I run those routines then using macro substitution.
>It works but I want to have nesting Whiles and If blocks.
>Any sample code?
>
>thanks in advance,
>Pablo Velazco
--sb--