Why not - just data drive the code and send the memo contents via SQL Passthru to the back end.
>>EXECSCRIPT is what you need. Try this as an example:
>>
>>
>>CREATE CURSOR xx (memx m)
>>INSERT INTO xx value("?DATETIME()"+CHR(10)+"?VERSION()")
>>EXECSCRIPT(xx.memx)
>>
>>
>I wonder - if under certain conditions - something like this could be considered client server?
>
>
>>>What would be the technique for running code from a memo field? So far, I have created Table.precode which has the written program, Table.precode2 has the compiled code. This is accomplished by writing the code to a file via modify command, saving, and compiling. Cut and paste the code from the .fxp to the Table.precode2 memo field. No luck so far with DO table.precode2 or DO &Table.precode2. I am looking at this as a way of setting up the environment for reports because the report processor FRX2WORD does not honor all of the code in the report methods. Any advice is appreciated!
>>>
>>>Steve