Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Run code from a memo field
Message
From
12/05/2004 16:36:36
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00903046
Message ID:
00903356
Views:
12
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
Previous
Reply
Map
View

Click here to load this message in the networking platform