Information générale
Catégorie:
Codage, syntaxe et commandes
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.
In the past, I have ameded reports by copying the .frx to a temporary .frx, then amending it and then printing the report.
I wonder could I do something similarly with a .SCX form file. i.e. copy the scx to a Temp.scx, manipulate this file(which is really only a dbf) , Compile it and then DO FORM Temp.
Regards,
Gerard
>>Now I also want to add Valid Code,When code at runtime ,probably from a memo field on the user defined table, and am wondering whats the best way of doing this.
>
>You can't do that. But what you can do is create a set of column classes that already have your valid code in them, and decide at runtime which class you want to use.
>
>Or, you could write your valid code in a set of functions and have a single column class that decides which function to call dynamically, and calls that function with EVAL(), returning the result.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement