Page 1 of 1

ZTable Problem

Posted: 13.03.2008, 20:39
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

Posted: 14.03.2008, 09:09
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

Posted: 17.03.2008, 20:43
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