Deleting all records from a MsQuery in CachedUpdate

Discussion of open issues, suggestions and bugs regarding SDAC (SQL Server Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
tonisanta
Posts: 55
Joined: Wed 04 Apr 2007 17:25

Deleting all records from a MsQuery in CachedUpdate

Post by tonisanta » Mon 16 Apr 2007 13:47

Hi,
when deleting all records from a MsQuery in CachedUpdate, on the last record I receive an AV (while RecordCount > 0 do Delete;). The records have been added and till now not been applied to the database. The AV appears in TMemData.DeleteRecord, line with CurrentItem.FilterResult := fsNotChecked. CurrentItem is nil.
best regards
Toni

Jackson
Posts: 512
Joined: Thu 26 Jan 2006 10:06

Post by Jackson » Tue 17 Apr 2007 07:00

Thank you for information.
We have reproduced the problem and fixed it.
This fix will be included in the next build of SDAC 4.

Post Reply