Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting field value
Message
De
01/07/2009 19:04:56
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
01/07/2009 19:02:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01409674
Message ID:
01409685
Vues:
54
>>I prefer not to use macro substitution unless it's necessary and it's not necessary in this case.
>>>
>>>Given alias of current table in cAlias and field name of one of its field cField:
>>>
>>>Is EVALUATE(cAlias + [.] + cField) or &cAlias..&cField better way to retrive field value?
>>>
>>>In this case, when alias and field name are both in variable, is there any other way to retrieve the field value?
>
>I understand why try not to use macro substitution, but why are you saying it is not necessary in this case?

Because you have an alternative - evaluate() in this case.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform