Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting specific column, activerow of grid
Message
From
28/11/2001 10:14:21
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Getting specific column, activerow of grid
Miscellaneous
Thread ID:
00586953
Message ID:
00586953
Views:
45
In the following construct, how does one specify that the value in colmun8 comes from the active row of the grid?

FOR i = 1 TO _screen.formcount
IF UPPER(ALLTRIM(_screen.forms[i].name))='WRK2'
_myvalue = ALLTRIM(UPPER(thisform.grdResult.Column8.text1.value))
ENDIF
ENDFOR

As grdResult may contain multiple rows, I need to have _myvalue come from the activerow. Currently I am getting the last row's value.

Any help appreciated.

Andrew
On a CLEAR day you can see forever.
Next
Reply
Map
View

Click here to load this message in the networking platform