Delphi 7, Firebird embedded, Zeos 6.6.2-RC

Forum related to Firebird

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
nostradumbass
Junior Boarder
Junior Boarder
Posts: 27
Joined: 22.05.2008, 23:54

Delphi 7, Firebird embedded, Zeos 6.6.2-RC

Post by nostradumbass »

I need to click the button twice to populate my DBGrid with data! What is wrong?

procedure TForm1.Button1Click(Sender: TObject);
begin
try
with ZQuery1 do
begin
Active:=true;
end
except
end;
end;
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

Is this code also fired twice? No exception in case of the first click? Using FB 2.1 or 2.0?

There's a known problem with FB2.1 : Connect only succeeds 2nd time (I believe).

Mark
Image
nostradumbass
Junior Boarder
Junior Boarder
Posts: 27
Joined: 22.05.2008, 23:54

Post by nostradumbass »

That explains it! I am using 2.1..

Thanks.
Post Reply