Subject | Re: [firebird-support] Calling stored procedure in a trigger |
---|---|
Author | Geoff Worboys |
Post date | 2010-10-02T02:58:55Z |
There seems to be some strange responses coming in to this.
As far as I can tell the problem is relatively simple:
[...]
one of the New* values (otherwise it wouldn't actually be
after would it).
Change this to a before trigger and it should all work I think.
--
Geoff Worboys
Telesis Computing
As far as I can tell the problem is relatively simple:
> My trigger looks like this:^^^^^^^^^^^^^^^^^^^^^^
> CREATE OR ALTER TRIGGER JOB_AIU3 FOR JOB
> ACTIVE AFTER INSERT OR UPDATE POSITION 3
[...]
> /* UPDATE JOB WITH ALLOC INITIALS */It's an "after" trigger so it's too late to try and change
> NEW.tech_alloc_display = :V_ALLOC;
one of the New* values (otherwise it wouldn't actually be
after would it).
Change this to a before trigger and it should all work I think.
--
Geoff Worboys
Telesis Computing