Icon View Incident Report

Serious Serious
Reported By: Brian
Reported On: 10/4/2001
For: Version 2.11 Build 1
# 913 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 8708 error is normal, but the unlock error was a bug and has been fixed. 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 2.12 build 1
Image