Results 1 to 4 of 4

Thread: Runtime error 444 while adding a new value in grid

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2002
    Location
    India
    Posts
    84

    Exclamation Runtime error 444 while adding a new value in grid

    hi
    when i try to add some new value in grid then during dataset refresh associated with that grid, it gives runtime error 444.
    Can anybody help?
    Thanks
    sanjeev

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Runtime error 444 while adding a new value in grid

    What type of grid are you using?

    What code are you using to add the new value?

    What is the text of Error 444?

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jan 2002
    Location
    India
    Posts
    84

    Re: Runtime error 444 while adding a new value in grid

    I am using TDBGrid. And teh code to add the data is like

    i am filling the third column value in the grid.
    and first two columns are filling automatically from the below recordset in the tdbPrdtCritSumry_aftercolupdate() sub..

    tdbPrdtCritSumry.Columns(0).Value = datVE.Recordset.Fields(0)
    tdbPrdtCritSumry.Columns(1).Value = datVE.Recordset.Fields(1)

    ''now here i am refreshing the datasource associated with the grid.
    datPrdtCrit.Refresh 'Error coming on this line

    Error says "Method not applicable in thsi context."

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Jan 2002
    Location
    India
    Posts
    84

    Re: Runtime error 444 while adding a new value in grid

    now when i remove the refresh statement, i got rid of error 444 but i dont get the last added row data in my next grid where i am fetching data from teh table associated with the dataset to be refreshed.

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