Subject | Re: [ib-support] Re: Flagging a deletion rather than delete |
---|---|
Author | Ann W. Harrison |
Post date | 2003-01-08T20:15:18Z |
At 10:47 PM 1/5/2003 +0000, Didier Gasser-Morlay <Didiergm@...> wrote:
trigger on the view that changed a delete to an update. However,
at some point, some bright spark decided to remove the code that
checked for view triggers and eliminated the "natural" action, so
you have to create a "non-updateable" view. With a non-updateable
view, you need triggers to handle inserts and updates as well
as deletes.
Regards,
Ann
www.ibphoenix.com
We have answers.
>Yes, I agree this is the way to go but I was hoping to be able to markSigh. The right way to do this is to create a view and put a
>the record as deleted in a before delete trigger event and somehow
>prevent the actual deletion from happening.
trigger on the view that changed a delete to an update. However,
at some point, some bright spark decided to remove the code that
checked for view triggers and eliminated the "natural" action, so
you have to create a "non-updateable" view. With a non-updateable
view, you need triggers to handle inserts and updates as well
as deletes.
Regards,
Ann
www.ibphoenix.com
We have answers.