Click to See Complete Forum and Search --> : Inconsistent DBGrid Behaviour


daneb
August 23rd, 2001, 01:51 AM
Hi.

I have a form with a DBGrid, named DBGrid1, populated by an Access 97 table data through a Data Control. The DBGrid allows deletion and update of records. My question is this: if I delete all records displayed in the DBGrid and start to type a value on a column for a new record/row, when I get off that particular row, the new record disappears. When I close the form and reload it again, the new record is there. I have DBGrid1.Refresh codes in my DBgrid's AfterUpdate and AfterDelete events. Why does the DBGrid behave inconsistently?