Page 1 of 1

Bug on Eof in TZTable 6.6.2-BETA

Posted: 17.08.2007, 18:44
by alai
if use this code

ZTABLE.Open;
while not(ZTABLE.Eof) do
begin
ZTABLE.Edit;
ZTABLE.FieldByName('test').AsString := 'TEST';
ZTABLE.Post;
ZTABLE.Next;
end;
ZTABLE.Close;

The don't change the state and the progam is in loop ( this run correctly with 6.5.1 )

Thank's

Posted: 22.08.2007, 16:17
by alai
Can help me to solve this problem ???

Thank's

Posted: 22.08.2007, 21:02
by mdaems
Works like expected for me... using mysql5. Delphi 7.

Can you provide info about compiler version, zeos version, database?
Also attach a very small (form with 1 button) project, table+data creation sql script. I don't know what database you use but scripts work for most systems.

Mark