You can parse-out the lines and use macro substitution to run each of them individually.
Like, if you have a variable called DoMe which equals "select thistable", issue the command &DoMe, the program will select thistable.
Joe
>I know someone out there has had to come across this same problem. Can anyone shed some light?
>
>I have an app (exe) which uses a data dictionary concept. I store multi-line logic identical to a prg in MEMO field. In my case the code will execute agains some data for formatting it and well as any post processing purposes.
>
>In my approach, I simply read the memo field contents, write them out to a temporary prg and perform a DO (tempprg). This works great as long as the application in not an EXE.
>
>Do anyone have another approach or fix to my problem.
>
>P.S. Remember, this is beyong your typical 1 line EVALUATE() solution.
Joseph C. Kempel
Systems Analyst/Programmer
JNC