>I do not think it can do it. I started asking that question about 3 years ago and no one has been able to show me a way to do it.
>
>The macro Sub (&) the EVAL() are what set VFP apart from many other development platforms. There are the purists that say that you should not use them, but I have been involved in huge projects that table drive the code and the EVALS() and "&" are used everywhere - without a significant loss of speed. If there is a loss of speed, the benefit to table drive applications far out weighs any loss on speed.
>
>The reason that you can do the EVAL() and & substitutions is because of the huge VFP runtime library. That is what I have been told anyway.
>
>I have started getting more involved with VB and the more I do the more I miss VFP, but you have to go with what's popular -- not necessarily better.
>
>I will be watching this so see a response from anyone else.
>
>Mark
You can do this in VB by using the ScriptControl object. There's a couple of methods that do it within this object, Eval() & ExecuteStatement. See this article for details:
http://www.microsoft.com/mind/defaultframe.asp?page=/mind/0799/script/script.htm