Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reference a control with the value of a variable
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00574091
Message ID:
00574129
Vues:
30
< snip>
>>  *!* Here's where my prolem is
>>  *!* This doesn't work and I can't remember what will
>>  *ThisForm.&lcUpdateCity..Value = ZipCity.LwrCity
>>  *ThisForm.&lcUpdateState..Value = ZipCity.State
>  <b>
>   store ZipCity.LwrCity to ('thisform.'+m.lcUpdateCity+".value")
>   store ZipCity.State to ('thisform.'+m.lcUpdateState+".value")</b>
>>EndIf
>>
>>Select (lnOldArea)
>>
>
>
>Hi James,
>
>Sergey answered your question, but you don't need macros at all. See my changes in bold.

Good point! I recomend using name expression over macro substitution any time you can.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform