Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 6 of 6 total
Thread 10258 error
Sat, Jul 22 2006 6:04 AMPermanent Link

"Sorin"
Hello
I try the trial version of dbisam
I open a table, put one record on edit mode, and close the table without
saving.
If I try to edit the same record again It raise the 10258 lock error.
Closing a table isn't releasing all the locked records?
Thanks sorin

Sun, Jul 23 2006 6:32 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Sorin,

<< I try the trial version of dbisam >>

Which trial version are you using ?  The latest 4.24 ?

<< I open a table, put one record on edit mode, and close the table without
saving. If I try to edit the same record again It raise the 10258 lock
error. Closing a table isn't releasing all the locked records? >>

That's why I asked which version you're using.  This was a problem in an
older version of DBISAM, but has been fixed:

http://www.elevatesoft.com/scripts/incident.dll?action=viewaddr&release=3.25&type=f&incident=1410

--
Tim Young
Elevate Software
www.elevatesoft.com

Sun, Jul 23 2006 10:36 AMPermanent Link

"Sorin"
I'm using ver. 4.24 build 1

"Tim Young [Elevate Software]" <timyoung@elevatesoft.com> wrote in message
news:4CA7E892-4270-49E3-82B4-B0A99AFE9E19@news.elevatesoft.com...
> Sorin,
>
> << I try the trial version of dbisam >>
>
> Which trial version are you using ?  The latest 4.24 ?
>
> << I open a table, put one record on edit mode, and close the table
> without saving. If I try to edit the same record again It raise the 10258
> lock error. Closing a table isn't releasing all the locked records? >>
>
> That's why I asked which version you're using.  This was a problem in an
> older version of DBISAM, but has been fixed:
>
> http://www.elevatesoft.com/scripts/incident.dll?action=viewaddr&release=3.25&type=f&incident=1410
>
> --
> Tim Young
> Elevate Software
> www.elevatesoft.com
>
>

Sun, Jul 23 2006 10:32 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Sorin,

<< I'm using ver. 4.24 build 1 >>

I've tried to reproduce what you're doing here several times with 4.24, and
I cannot do so.  Could you possibly send me the code that you're using so
that I can try it here ?

--
Tim Young
Elevate Software
www.elevatesoft.com

Mon, Jul 24 2006 7:05 AMPermanent Link

"Sorin"
It's difficult because the code is spreaded on the application but the
important part are:
a dbgrid connected to a query. When a press on a record a procedure is
activated
The procedure recreate a datamodule open a table located on the datamodule
use findkey to locate the requested record and set the record on edit mode.
If i exit without saving the record the application close the table and free
the datamodule.
Now if i try to open the same record again it raise the 10258 error
Sorin


Mon, Jul 24 2006 8:22 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Sorin,

<< It's difficult because the code is spreaded on the application but the
important part are:
a dbgrid connected to a query. When a press on a record a procedure is
activated The procedure recreate a datamodule open a table located on the
datamodule use findkey to locate the requested record and set the record on
edit mode. If i exit without saving the record the application close the
table and free the datamodule.Now if i try to open the same record again it
raise the 10258 error >>

I understand what you're saying, but I cannot replicate it here.  Therefore,
either it is something else causing the issue besides the close, or I'm not
using the same code as you.  What I'm using is this:

1) Drop two TDBISAMTable components on a form, point them both to the same
table, and open them.
2) Put the following code in a button click event:

procedure TForm1.Button1Click(Sender: TObject);
begin
  DBISAMTable1.Edit;
  DBISAMTable1.Close;
  DBISAMTable2.Edit;
end;

3) Run the code.  Here with 4.24 B1, it runs without any problem at all.

--
Tim Young
Elevate Software
www.elevatesoft.com

Image