Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

How to cascade delete subform entry ? Topic is solved

Questions related to using nuBuilder Forte.
Post Reply
damien
Posts: 30
Joined: Fri May 06, 2022 10:38 pm
Has thanked: 14 times

How to cascade delete subform entry ?

Unread post 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 ?
kev1n
nuBuilder Team
Posts: 4294
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: How to cascade delete subform entry ?

Unread post by kev1n »

nuBuilder should delete the related subform records. At least this is the case for me.
damien
Posts: 30
Joined: Fri May 06, 2022 10:38 pm
Has thanked: 14 times

Re: How to cascade delete subform entry ?

Unread post by damien »

Ok, great news
I had the feeling that is was not the case but I was wrong.
Post Reply