Results 1 to 2 of 2

Thread: can't get last userinput from datagrid

  1. #1

    Thread Starter
    Addicted Member c@lle's Avatar
    Join Date
    Oct 1999
    Location
    Belgium
    Posts
    179

    Post

    I can't get the input of the users when they edit a field in the datagrid.

    In the event 'beforeColUpdate' I want to check the value they entered, but I always get the value that was already in the grid.

    This is what I already used:
    Code:
    Debug.Print DataGrid1.Text
        Debug.Print DataGrid1.Columns(ColIndex).Text
        Debug.Print DataGrid1.Columns(ColIndex).Value
        Debug.Print DataGrid1.Columns(ColIndex).CellText(DataGrid1.Bookmark)
        Debug.Print DataGrid1.Columns(ColIndex).CellValue(DataGrid1.Bookmark)
    How can I get the text the user just typed???

  2. #2
    Frenzied Member
    Join Date
    Aug 1999
    Location
    Santa Clara, Ca , 95058
    Posts
    1,105

    Post

    Does the edited record cause a new record to be created? If so, you might need to check the value in the BeforeInserted event...

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