Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The FOR EACH loop
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
The FOR EACH loop
Miscellaneous
Thread ID:
00494274
Message ID:
00494274
Views:
57
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.
Next
Reply
Map
View

Click here to load this message in the networking platform