Oppenhiemer
Programmer
Does anyone know of a problem with Triggers in Interbase (version 6.x.) Apparently the bug means that triggers fire twice.
I am having this problem myself (my auto-inc fields are incrementing by 2 instead of 1) so would appreciate any help anyone can give on this.
Cheers..
Opp.
P.S Here is an example of the code IM using :
CREATE TRIGGER SET_NEW_TABLE_ID FOR TABLE1
ACTIVE BEFORE INSERT POSITION 0
AS
BEGIN
new.ID = gen_id(GEN_TABLE_ID,1);
END
I am having this problem myself (my auto-inc fields are incrementing by 2 instead of 1) so would appreciate any help anyone can give on this.
Cheers..
Opp.
P.S Here is an example of the code IM using :
CREATE TRIGGER SET_NEW_TABLE_ID FOR TABLE1
ACTIVE BEFORE INSERT POSITION 0
AS
BEGIN
new.ID = gen_id(GEN_TABLE_ID,1);
END