Subject Re: [firebird-support] no firing event using firebird 1.5 RC5 on w2k and XP
Author Martijn Tonies
Hi,


> I cant have any firing event on my application using firebird 1.5 RC5
> and FIbplus component 4.8.1....
> on both XP with with service pack 1 and W2k with service pack 3.
> why?
>
> following are the description on what I did:
>
> on the firebird the trigger i used:
>
> SET TERM !!;
> CREATE TRIGGER POST_NEW_ORDER FOR INVOICEDETAIL ACTIVE AFTER INSERT
> POSITION 0 AS
> BEGIN
> POST_EVENT 'new_invoice';


You are fireing event "new_invoice"

> the onAlertEvent for SIBfibEventAlerter1
>
> procedure TDataModule2.SIBfibEventAlerter1EventAlert(Sender: TObject;
> EventName: String; EventCount: Integer);
> begin
> if EventName='POST_NEW_ORDER' then

But are catching event "post_new_order" ... Which is the trigger name.

Needless to say - these don't match.


With regards,

Martijn Tonies
Database Workbench - the developer tool for InterBase & Firebird
Upscene Productions
http://www.upscene.com