Re: Access database not updated when records are deleted

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Miha Markic [MVP C#] (miha)
Date: 11/06/04


Date: Sat, 6 Nov 2004 10:00:12 +0100


> Essentially the code is as it was before I tried creating an explicit
> Delete
> command (although I've discovered that AcceptChanges is indeed
> unnecessary).
> So why the f*** is it working now when it didn't before?!

AcceptChanges consolidates RowStates and it is implicitly called after
Update executes.

-- 
Miha Markic [MVP C#] - RightHand .NET consulting & development
miha at rthand com
www.rthand.com