Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread 10242 and 8708 Errors
Mon, Dec 17 2007 10:53 PMPermanent Link

"John Postnikoff"
In this case I am trying to make and need a local connection .  The code I
use to try to connect goes like this.  The strange thing is that the table
is locked in edit mode. I have tried to open and close both the sessions and
tables to reset as well as force refreshes to the tables. Two tables of
thirteen seem problematic out of
many which the others work OK within the application, however the
problematic table is the main entry table. Somehow could this be courrupt
since I cannot seem to get it our of edit mode?

begin
 with DBISAMSession1 do
 begin
  DBISAMSession1.SessionType:= stLocal;
 DBISAMSession1.Active:= false;
 DBISAMDatabase1.connected := false;

 //RemoteAddress := edRemoteHost.Text;  // if remote then I do change the
session type to remote.
// DBISAMSession1.SessionType:= stRemote

 DBISAMSession1.Active:= True;
 DBISAMDatabase1.connected := True ;

end;




From: "Tim Young [Elevate Software]" <timyoung@elevatesoft.com>
Subject: Re: #10242 Error and 8708 errors
Date: Monday, December 17, 2007 1:56 PM

John,

<< My application  has a #10242 - Cannot unlock the table or record in the
table... My table or record seems to be stuck in edit mode and cannot cancel
or post the change that I wish to make. I have tried all kinds of settings
on the DBISAM components after which I get  8708 DBISAM engine error.  Any
ideas?   Using D7 with DBISAM  4.25 Build 7. >>

Is this a local or remote session ?  Could you post the code that you're
using ?

--
Tim Young
Elevate Software
www.elevatesoft.com


Tue, Dec 18 2007 3:01 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

John,

<< In this case I am trying to make and need a local connection .  The code
I use to try to connect goes like this.  The strange thing is that the table
is locked in edit mode. I have tried to open and close both the sessions and
tables to reset as well as force refreshes to the tables. Two tables of
thirteen seem problematic out of many which the others work OK within the
application, however the problematic table is the main entry table. Somehow
could this be courrupt since I cannot seem to get it our of edit mode? >>

It's possible, but normally 10242 errors are not the result of corruption.
8708 errors can be caused by corruption.  Did you try repairing the table in
question ?

--
Tim Young
Elevate Software
www.elevatesoft.com

Image