Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to dynamically set Valid etc. Propery
Message
 
À
18/03/2001 15:43:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00486322
Message ID:
00486337
Vues:
10
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
Fil
Voir

Click here to load this message in the networking platform