Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Name expressions vs macro substitution
Message
De
01/12/2000 11:42:31
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00447850
Message ID:
00448124
Vues:
16
>After reading the faq on this subject I expected the following line of code to work but it doesn't... replace (cField) with (cField) + 1

Is "New" the name of the field? The problem is, its using "New" as a string, thats why the first use works (can you're pointing to a field name) and the second one doesn't (you probably want the value of the "new" field). So Evaluate(cField) to go a level between () and &.

Here's another reference,
http://fox.wikis.com/wc.dll?Wiki~MacroReplacement~VFP
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform