Subject | Re: [firebird-support] Trigger and St.procedure |
---|---|
Author | Alexandre Benson Smith |
Post date | 2009-05-20T19:57:01Z |
allies_xposs@... wrote:
"exists" inside your trigger.
see you !
--
Alexandre Benson Smith
Development
THOR Software e Comercial Ltda
Santo Andre - Sao Paulo - Brazil
www.thorsoftware.com.br
> Table name :new.* context variables are not seen inside your procedure, they just
>
> Postingtrans (
>
> Mydate date,
>
> Win integer,
>
> Lose integer,
>
> Userby varchar(10));
>
>
>
> Create trigger tposting before update on postingtrans....
>
> Call stposting();
>
> End;
>
>
>
> Create procedure stposting()
>
> Begin
>
> .. Any code to find win or lose
>
> If bwin then Set new.win=new.win+1
>
> Else set new.lose=new.lose+1
>
> End
>
> End
>
"exists" inside your trigger.
see you !
--
Alexandre Benson Smith
Development
THOR Software e Comercial Ltda
Santo Andre - Sao Paulo - Brazil
www.thorsoftware.com.br