Page 1 of 1

How to cascade delete subform entry ?

Posted: Thu Jun 02, 2022 12:51 pm
by damien
Hello,

A question raised to my mind.
I understand that nuBuilder do not realy on database foreign key.
So how is manage the deletion of a subform entry when deleting main entry ?

Do I need to put the code into the Before Delete hook ?

Re: How to cascade delete subform entry ?

Posted: Thu Jun 02, 2022 1:06 pm
by kev1n
nuBuilder should delete the related subform records. At least this is the case for me.

Re: How to cascade delete subform entry ?

Posted: Thu Jun 02, 2022 1:29 pm
by damien
Ok, great news
I had the feeling that is was not the case but I was wrong.