Article View: borland.public.interbase.sql
Article #418Trigger do not fire situations
From: Marian
Date: Fri, 07 Mar 2008 10:43
Date: Fri, 07 Mar 2008 10:43
24 lines
1629 bytes
1629 bytes
Hi !
I have a trigger after update wich fire a stored procedure execution.
If I make the update from IBConsole the trigger fire.
From an IBX IBSQL component ... nothing.
Transactions are read commited and separate for each IBX and table trigger.
Is there a catch ?
IBSQL sql:
update BON_CASA
set
NRBON=:nrbon
where CODDOC=:coddoc
CREATE TRIGGER "UPDATE_RAPORTX" FOR "BON_CASA"
ACTIVE AFTER UPDATE POSITION 1
AS
DECLARE VARIABLE INCASARE_LIBERA_V BOOLEAN;
BEGIN
INCASARE_LIBERA_V=FALSE;
IF (NEW.NRBON<>OLD.NRBON)
THEN EXECUTE PROCEDURE INSERT_BON_RAPX(BON_CASA.CODDOC,
:INCASARE_LIBERA_V, BON_CASA.CODGEST);
END
Technical Details
Message-ID:
<47d11c5a$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 114a0e,713b46d74dfd39a1,start X-Google-Attributes: gid114a0e,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "Marian" <marian@dammt.com> From: "Marian" <marian@dammt.com> Newsgroups: borland.public.interbase.sql Subject: Trigger do not fire situations Date: Fri, 7 Mar 2008 12:43:38 +0200 Lines: 26 Organization: Home X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.3790.3959 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4133 NNTP-Posting-Host: 82.76.59.81 Message-ID: <47d11c5a$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1204886618 82.76.59.81 (7 Mar 2008 02:43:38 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail X-Original-Bytes: 1470