⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

How I do to add 1 register (Project) and N registers (Events) together?



Felipe Matos
  • profile picture
  • Member

Posted 25 February 2013 - 16:26 PM

I want to add, edit and delete (on cascade) the events together with the table project, but I dont need to show the rows (events) in the list of project.
 
My structure of tables is...
 
Projetct(id, name)
Event (id, name, id_projetct)
Activit (id, name, id_event)
 
How I do this?

victor
  • profile picture
  • Member

Posted 25 February 2013 - 19:06 PM

you can use some callback functions as solution. Read the official documentation. for example you can use the 'callback after delete'

Felipe Matos
  • profile picture
  • Member

Posted 26 February 2013 - 13:36 PM

Thanks for help me Victor, 
 
But in fact I want make do this 

davidoster
  • profile picture
  • Member

Posted 03 March 2013 - 08:20 AM

We must wait till the Master/Detail feature is complete...!

Thank you!