Results 1 to 2 of 2

Thread: Data Grids...

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2000
    Posts
    8

    Angry

    How do you extract the data value from one column of a selected row in a DataGrid or Flex Grid ???

  2. #2
    Hyperactive Member
    Join Date
    Apr 2000
    Location
    Isle of Man
    Posts
    276
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width