Link to home
Start Free TrialLog in
Avatar of Whytboy
Whytboy

asked on

Delphi SQL and Interbase Triggers

Howdy;

It appears that when I do an SQL INSERT from a Query Component with the ExecSQL method, it appears that my BEFORE INSERT Trigger to generate my primary key is not getting triggered... because it gives me an error that I'm trying to insert a NULL primary Key... Any ideas on how to get that to fire off the trigger on INSERT? Ā (It also doesnt fire off the BEFORE DELETE Trigger!)

Thanks

Roger Webb
ASKER CERTIFIED SOLUTION
Avatar of KE
KE

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Whytboy
Whytboy

ASKER

Thanks... sorry it took so long.