Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid values
Message
 
 
To
17/01/2003 17:53:34
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00743057
Message ID:
00743080
Views:
13
This message has been marked as the solution to the initial question of the thread.
James,
lcField = justext( thisform.grid1.column1.ControlSource )
select &lcField ;
   from (thisform.grid1.RecordSource) ;
   into array laColumnValues
>Does anyone know how to get a value out of a grid? For instance; if I have a 5 column grid that could take as many rows as data I have for it, how would I get all the values out of say just column 2 so I could shoot these values into an array? What I am really looking for is a grid.column2.value (I know that the statement was not the correct code) type statement.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform