FIX: Delete/MoveNext Moves to Wrong Record with Jet 4.0 Provider (253561)
The information in this article applies to:
- Microsoft OLE DB Provider for Jet 4.0
This article was previously published under Q253561 SYMPTOMS
When deleting records in a loop using the Microsoft Jet 4.0 OLE DB provider, not all records get deleted from the table.
CAUSE
When using forward-only, server-side cursors, the Microsoft Jet 4.0 OLE DB provider incorrectly positions the cursor after executing the Delete method.
RESOLUTION
To resolve this problem, do one of the following:
- Use a different cursor type, such as Keyset.
- Use a SQL statement, such as: DELETE * FROM MyTable.
STATUS
This has been fixed in Microsoft Jet 4.0 SP4.
Modification Type: | Minor | Last Reviewed: | 9/26/2005 |
---|
Keywords: | kbHotfixServer kbQFE kbBug kbfix kbJET KB253561 |
---|
|