Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
The FOR EACH loop
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
The FOR EACH loop
Divers
Thread ID:
00494274
Message ID:
00494274
Vues:
56
Can someone, help me understand the for each command, (I think I am reading to much into it)

but what I would like to do is loop though an active form (thisform. ) and check for each field wich is .enabled=.t. or some other flag,
get a value from the tag field and the value of the field itself, and then put it all together in a sql statment,

help says this .

FOR EACH Var IN Group
Commands
[EXIT]
[LOOP]
ENDFOR | NEXT [Var]

could the group be something like thisform.enabled.objects ? or something like that. ?

or, is there a better way of reaching the same result. ?

thanks a bunch
Bob Lee
In the beginning, there was a command prompt, and all was well.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform