Reported By: Bernd Kuhlmann Reported On: 8/27/2003 For: Version 3.25 Build 1
# 1410Record 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);
dbisamtable1.open;// no problem if this tableobject is not opened
dbisamtable2.edit;// -> record is locked
Comments and WorkaroundsThe 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.
ResolutionFixed Problem on 9/2/2003 in version 3.25 build 1