PDA

Click to See Complete Forum and Search --> : Data Grids...


Paul D
Jun 15th, 2000, 06:52 PM
How do you extract the data value from one column of a selected row in a DataGrid or Flex Grid ???

Jimbob
Jun 15th, 2000, 08:27 PM
Never used a datagrid, but with a flexgrid, you can tell what's in the current cell using the .Text property, eg

Private Sub MSFlexGrid1_Click()
MsgBox MSFlexGrid1.Text
End Sub

this would show a msgbox containing the current cell

if you wanted to get all the values in a row or column, you can use .Row and .Col properties to make a different cell current.