Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why cannot use & with Thisform.SomeProperty
Message
De
05/05/2009 08:30:37
 
 
À
04/05/2009 21:20:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01397844
Message ID:
01397943
Vues:
125
Hi Greg.

>>Just to answer the general question, you can only macro-expand variables, not fields or properties.
>
>I have used macro substitution with table.fields -->
>
>lcAlias = ALIAS()
>
>REPLACE &lcAlias..fieldname WITH lcValue

But you're not macro-expanding the content of a field; it's still a variable (lcAlias). Tamar means you can't do something like:

&CompanyName (where CompanyName is the name of a field)
&This.SomeProperty

Doug
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform