Code: Select all
ZConnection2.Disconnect;
ZConnection2.Protocol := 'pooled.firebird-3.0';
ZConnection2.HostName := '127.0.0.1';
ZConnection2.Database := 'c:\temp\test.fdb';
ZConnection2.User := 'SYSDBA';
ZConnection2.Password := 'masterkey';
ZConnection2.Properties.Add('ConnectionTimeout=5');
ZConnection2.Properties.Add('MaxConnections=10');
ZConnection2.Properties.Add('Wait=true');
ZConnection2.Connect;
ZQuery2.SQL.Add('select * from GROUP');
ZQuery2.Active := True; //<-- here occurs AV