problem deleting in a portal

I have a portal, offcourse based on a relationship.

When I make a new record and try to edit it I have no issue.

When I want to delete a record, I ask a confirmation with a fieldname in it. The fieldname is correct so I assume the relationship should be correct too…

Now when I say yes, all shown records are deleted!!! Yes, not all card but all shown card :(

What can be wrong here.

Can you show me youre method?

Or send over a sample solution that demos this?

Going over this method again a day later and giving it some thoughts while driving my car (the best method to make me be creative :D ) made me solve the problem.

I will explain:

I had a one-2-many relationship where one is a global, many is offcourse the content of the portal.

Both the ‘Allow creation of related records’ and ‘Delete related records’ were checked…

This made all related records disappear.

When I unchecked the ‘Delete related records’ all worked like expected.

i have fixed a problem with deleting a record that has relations on it (and a relation column == null)
I think this was the case for you

I think so too :)

Thanks…