Icon View Incident Report

Serious Serious
Reported By: Bernd Kuhlmann
Reported On: 8/27/2003
For: Version 3.25 Build 1
# 1410 Record Is Not Being Unlocked Automatically When Table is Closed While In Edit Mode

A record remains locked if a TDBIsamTable is closed while in editmode and there is a second opened tableobject.

procedure TForm1.Button1Click(Sender: TObject); 
begin 
  dbisamtable1.open;// no problem if this tableobject is not opened 
  dbisamtable2.open; 
  dbisamtable2.edit; 
  dbisamtable2.close; 
  dbisamtable2.open; 
  dbisamtable2.edit;// -> record is locked 
end;



Comments Comments and Workarounds
The workaround is to put a CheckBrowseMode in the code before the close, or to automatically cancel an edits, if the record is being edited, before closing the table.


Resolution Resolution
Fixed Problem on 9/2/2003 in version 3.25 build 1
Image