| Subject | Re: [firebird-support] POST_EVENT and it params | 
|---|---|
| Author | Martijn Tonies | 
| Post date | 2003-07-02T06:41:34Z | 
Helen,
(also for the NEW.ACCID event?)
With regards,
Martijn Tonies
Database Workbench - the developer tool for InterBase & Firebird
Upscene Productions
http://www.upscene.com
            > So you have these alternatives:How do you register for such an event?
>
> POST_EVENT 'AccountAdded' ;
>
> or
>
> POST_EVENT NEW."AccID" ;
> (Note: double quotes used only if you defined "AccID" in the database
> using double quotes)
>
> or
> declare variable StringVar varchar(40);
> ...
> StringVar = 'New account added: ' || cast (new."AccID" as char(10)) ;
> POST_EVENT StringVar;
(also for the NEW.ACCID event?)
With regards,
Martijn Tonies
Database Workbench - the developer tool for InterBase & Firebird
Upscene Productions
http://www.upscene.com