Subject Re: [firebird-support] Tracking changes to records / triggers
Author Anderson Farias
Hi,

> Is it possible to write a trigger like....
>
> Changed := False;
> Counter := 0;
> while (counter < Record.FieldCount) and (Changed = False) do begin
> if (old.Fields[Counter] <> new.Fields[Counter]) then begin
> Changed := True;
> end;
> end;
>
> If (Changed = True) then begin
> //Marke record as changed
> end

It's me or the above code looks pretty much Delphi code? I don't get it...
How a FB trigger fits here?


Regards,
Anderson