• That is exactly what i was looking for. thanks a lot Lowell!

    PS : Sorry for the error in my post, I actually did an INSTEAD OF trigger.