>Does anybody know how to run code that is stored in a memo field in a table? The code isn't just one line either but may be an entire procedure or function. I considered saving the contents of the memo field to a temporary prg and running that but there has to be a more elegant solution.
About the only other thing you can do is make yourself a mini-interpretor - and read line by line and run the code. But, if you have any complex commands (more than one line), it won't work.
Writing to a temporary file should work... I've seen it done in the past.
HTH
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown