>Erik,
>Thanks for your reply.
>
>I dont know what the code is going to be until Runtime, so I cannot pur them into a class beforehand.
So a variations on my second suggestion might work: build a single class that calls a named function (say Validate) in its valid method. At runtime, grab the code from your memo field, write it to a file wrapped in FUNCTION Validate/ ENDFUNC, compile that file, and SET PROC TO your new file. Then your class will call that function in its valid.
Erik Moore
Clientelligence