Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Field Name Metamorphosis
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00398268
Message ID:
00398271
Vues:
21
This message has been marked as the solution to the initial question of the thread.
>Is it possible to access field names using a variable?
>
>i.e.
>
>the base field name is AAAA with 1 or 2 numbers after it.
>like ...
>
>for x = 1 to 5
> replace AAAA(x) with "Some Text"
>next x


Jeff,
Use name expression as follows
for x = 1 to 5
     replace ("AAAA" + TRANSFORM(x)) with "Some Text"
next x
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform