Search found 9 matches

by Fortuna1
15.05.2009, 07:33
Forum: 6.6 - stable
Topic: How crete stored procedure with query
Replies: 2
Views: 510

I found where is the problem. The .ParamCheck must be false; and then is OK. DM1.Qs1.ParamCheck:=FALSE; DM1.Qs1.Close; DM1.Qs1.SQL.Clear; DM1.Qs1.SQL.Add('CREATE PROCEDURE UPD_DOB (IPARAM INTEGER) AS BEGIN '+ ' UPDATE TABELA1 SET SALDO = :IPARAM; EXIT; END '); DM1.Qs1.ExecSQL; DM1.ZCs.Commit; Thanks.
by Fortuna1
14.05.2009, 17:26
Forum: 6.6 - stable
Topic: How crete stored procedure with query
Replies: 2
Views: 510

How crete stored procedure with query

DM1.Qs1.Close; DM1.Qs1.SQL.Clear; DM1.Qs1.SQL.Add('CREATE PROCEDURE UPD_DOB (IPARAM INTEGER) AS BEGIN '+ ' UPDATE TABELA1 SET SALDO = :IPARAM; EXIT; END '); DM1.Qs1.ExecSQL; DM1.ZCs.Commit; I use ZEOSDBO-6.6.3-stable LAZARUS FireBird Problem i is :IPARAM Program crashed in DM1.ZCs.Commit; Thanks How...
by Fortuna1
07.01.2009, 10:02
Forum: Firebird
Topic: libraries can't be found libfbclIent.so.20
Replies: 4
Views: 897

I try this

ln -s /opt/firebird/lib/libfbclient.so.2.0.3 /usr/lib/libfbclient.so.20

but not woking,


When I start my program I got this message;
libraries can't be found libfbclIent.so.20
by Fortuna1
05.01.2009, 09:07
Forum: Firebird
Topic: libraries can't be found libfbclIent.so.20
Replies: 4
Views: 897

libraries can't be found libfbclIent.so.20

I' m installed:
SUSE 10.3 64 bit PC
Firebird 2.0.3 AMD64
ZEOSDBO-6.6.3-stable.zip
fpc-2.2.2-20081005.i386(2).rpm
lazarus-0.9.27.16875-20081005.i386.rpm

When I start my program I got this message;
libraries can't be found libfbclIent.so.20

What sugestions
Thanks
by Fortuna1
30.12.2008, 18:54
Forum: Firebird
Topic: How use post_event in Lazarus (Firebird)
Replies: 5
Views: 1679

I m using SS.
How register any events?
by Fortuna1
28.12.2008, 12:42
Forum: Firebird
Topic: How use post_event in Lazarus (Firebird)
Replies: 5
Views: 1679

How use post_event in Lazarus (Firebird)

1) I put this in my Firebired base; CREATE TRIGGER "My_table_MSG" FOR "My_table" ACTIVE AFTER INSERT POSITION 0 AS beg POST_EVENT 'my_event'; end 2 I put ZConnection1 and ZIBEventAlerter1 and ZQuery1 on my form ZConnection1.Contected:=false; ZConnection1.AutoCommit:=true; ZIBEve...
by Fortuna1
26.11.2007, 14:17
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: How make rollback?
Replies: 8
Views: 17056

and a subsequent call to starttransaction is not necesarry (and impossible). Many thanks for your help. Im put this rows in program and now working. Conn.AutoCommit:=false; Q1.Close; Q1.SQL.Clear; Q1.SQL.Add('INSERT INTO PLACILA(TEXT) VALUES( "TRALALA")'); Q1.SQL.ExecSQL; Conn.Rollback; M...
by Fortuna1
26.11.2007, 08:12
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: How make rollback?
Replies: 8
Views: 17056

Conn.AutoCommit:=true; Conn.StartTransaction; Q1.Close; Q1.SQL.Clear; Q1.SQL.Add('INSERT INTO PLACILA(TEXT) VALUES( "TRALALA")'); Q1.SQL.ExecSQL; Conn.Rollback; every SQL statement is (auto)commited. and Rollback not worked. Problem is AutoCommit:=true; when I put this Conn.AutoCommit:=fal...
by Fortuna1
25.11.2007, 23:51
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: How make rollback?
Replies: 8
Views: 17056

How make rollback?

With AutoCommit set to True, every SQL statement is (auto)commited. When StartTransaction is executed then all statements are executed on the Commit.

I try programing with
linux,
Lazarus, and Firebird.

Zeos componet 6.6.1
Thanks.