Icon View Incident Report

Serious Serious
Reported By: Brian
Reported On: 10/4/2001
For: Version 3.02 Build 1
# 904 Attempting to Delete a Record that is in Edit Mode and Has Been Modified Causes Unlock Error

It's hard for me to consistently recreate, but occasionally I get an Error #8708 "Record has been changed or deleted by another user, session or table cursor in the table ...". Then I get a #10242 "Cannot unlock table or record..." It's a single-user application, I use the default session and don't use the table object - all work is done via TDBISAMQuery objects. Seems to occur when I'm working in a DBGrid (live dataset) and change a value with a Lookup field and try to Post a change.

Comments Comments and Workarounds
The problem was caused by trying to Delete a record that was already being edited and had been modified. The workaround is to ensure that the dataset is in browse mode before attempting a delete operation.

Resolution Resolution
Fixed Problem on 10/5/2001 in version 3.03 build 1