Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
For Each
Message
From
01/11/2001 17:48:02
 
 
To
31/10/2001 04:37:47
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00575508
Message ID:
00576466
Views:
16
>Can anyone help me to use FOR EACH command
>eg. FOR EACH column IN THISFORM.GRID1 ?????

The syntax for FOR EACH from the help file is "FOR EACH Var IN Group" where Group is:
A Visual FoxPro array, an OLE array, a Visual FoxPro collection, or an OLE collection.
The Columns property on a grid is an array (or a collection, but I think its jsut an array) and thats why Cetin and Wilfred's solutions work.
Previous
Reply
Map
View

Click here to load this message in the networking platform