Click to See Complete Forum and Search --> : Datagrid problem


BYaman
September 7th, 2001, 02:04 AM
I add a datagrid and bind a recordset.
when I do that
recordset.addnew
recordset.cancelupdate

I get an error message

Empty row cannot be inserted. Row must have at least one column value set.

Without datagrid it's work.

What's problem
I use VB6 SP5

makai
September 8th, 2001, 01:37 AM
there is no need to use cancelupdate

just use update when you have added or changed data