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
Printable View
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
What type of grid are you using?
What code are you using to add the new value?
What is the text of Error 444?
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."
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.