Bug on Eof in TZTable 6.6.2-BETA

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

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
alai
Fresh Boarder
Fresh Boarder
Posts: 5
Joined: 17.08.2007, 16:01

Bug on Eof in TZTable 6.6.2-BETA

Post 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
alai
Fresh Boarder
Fresh Boarder
Posts: 5
Joined: 17.08.2007, 16:01

Post by alai »

Can help me to solve this problem ???

Thank's
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post 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
Post Reply