Deleting all records from a MsQuery in CachedUpdate
Posted: 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
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