How to update a n n relation table via an other table
- Single Page
Posted 07 May 2013 - 11:11 AM
Posted 07 May 2013 - 14:10 PM
Hello and welcome to the forums.
Actually this has nothing to do with the fact that you are using a set_relation_n_n.
At your employe table you use one (or all) of these functions:
after_insert
before_update
after_update
Which one(s) you use and what you do within these callbacks it depends on the logic you want to implement.
Posted 07 May 2013 - 15:07 PM
Thank you for your welcome and your reply. I will use one of these functions. :)
Posted 07 May 2013 - 15:12 PM
Posted 07 May 2013 - 15:43 PM
You are right, I 'll try each of all functions from th API. If I encounter some problems, I think I always ask for a little assistance.