ZTable Problem

Forum related to version 6.5.1 (alpha) and 6.6.x (beta) of ZeosLib's DBOs

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
edrobinson
Fresh Boarder
Fresh Boarder
Posts: 6
Joined: 06.12.2006, 20:59

ZTable Problem

Post by edrobinson »

I am using 6.6.2 with Delphi-5, sqlite3.

Ztable.First;
while not ZTable.Eof do
begin
...
ZTable.Next;
end;

In the course of ... the current record might get edited. This messes up the cursor position and Eof never happens. It seems to bounce back and forth between the first and second record if the first record gets edited.

Any ideas?
Thanks,
Ed
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

Hi Ed, can you drop an easy test project (= form with 1 button or even easier command line app) together with your db creation script and test data in the bug tracker? Eventually you can also leave a copy (or a link) here.
(I still have a D5 compiler somewhere so I might try it myself if I get the SQLite working)

Mark
Image
edrobinson
Fresh Boarder
Fresh Boarder
Posts: 6
Joined: 06.12.2006, 20:59

Post by edrobinson »

Mark,

I created the "easy test project" and couldn't reproduce the problem. ARGGGGH!

Still haven't found the source of the problem but have worked around it using a TBookmark before and after appending to the table.

It will show up at some point...

Thanks for your help.

Ed
Post Reply