Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
&This.MyProperty doesn't work
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00432793
Message ID:
00432800
Vues:
19
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Why This code doesn't work? FoxPro gaves an error.

In the Form I have a property:
.MyProperty="customers" &&Table Name

In a control InterActiveChange Event:
Private lcValue
lcValue=&ThisForm.MyProperty..firstname
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Hi Francisko. I wish I could tell you "why," in the form of a low-level explanation, but at least I can reassure you that you are not crazy! You cannot macro-expand properties. Instead, save to a variable and macro-expand.
The whole problem with the world is that fools and fanatics are always so certain of themselves, but wiser people so full of doubts. - Bertrand Russell
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform