Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting the selected row value from grid.
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00697223
Message ID:
00697261
Views:
12
>I have a grid name grid1.
>
>i want to get the value of the selected row of first column and second column.
>
>Can somebody please tell me how to get the values.
>
>Thank you.

If you know, what field is column1 and what field is column2, you can just use:

myTable.field1 and myTable.field2

Otherwise you can use:

evaluate(thisform.myGrid.Column1.controlsource)
evaluate(thisform.myGrid.Column2.controlsource)
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform