Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Alias name
Message
De
27/07/1999 09:57:16
 
 
À
27/07/1999 09:46:47
Jolene Dicks
Human Resources Development Canada
St. John's, Terre-Neuve, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00246542
Message ID:
00246561
Vues:
22
I think you'll need to use the macro symbol for that. Its an ampersand (&)
Place it before a variable and use a dot or a space to terminate it.
ie, this.&lccontrol..value
Most likely you'll end up with
replace &curfield with eval("b." + field)

This stuff is pretty well documented in help, but there is also a thread running around here wherein someone posted an EXECELLANT description of how naming and macro conventions work. He was going to write it up as a KB or a FAQ article, don't know if that was done yet. Maybe someone saved it and can email it to you, or tell you the thread number.

>The Evaluate function worked fine for comparing the two values. It will also allow me to replace with the Evaluate() of that string as well. But I still need to know how to reference the field that I am trying to replace.
--Todd Sherman
-Wake Up! Smell the Coffee!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform