Unlink composition records
Would love if there was a way to unlink composition records without deleting the entire thing or changing the table to not be a composition just to unlink.
5 replies
-
Hi Sarah,
in the subtable you can use a button with the following formula:
'myMaintable reference field' := 0
Kind regards, Jörg
-
Hi Jörg
Thanks for the reply
Would still like to see something integrated as part of the system so I don't need to add another button to composition tables for the occasional error.
-
I agree something needs to be incorporated to allow unlinking from the parent. Adding a button is not really an acceptable solution as when viewing the child/subtable from a parent, that parent's link field is hidden, but any button for use to cut the link would still be visible, even though the field on which it is supposed to operate (i.e. set to 0 as above) is not actually visible.
It might be ok if we could determine the context (i.e. current table) and then hide the 'cutlink' button, but not currently possible to do that.
-
Once unlinked with a button, how are you going to re-assign a parent to this record?
The behaviour of Composition, when set to Yes, is designed as such for a well-established reason. Either composition is No and a child record can exist without a parent, or it's Yes, and a child record should never exist without a parent (or it becomes an orphan and the integrity of the database can become compromised). There is no halfway house.
Content aside
- 1 yr agoLast active
- 5Replies
- 1389Views
-
2
Following