Forum Discussion
MarkShnier__You
Qrew Legend
3 years agoIt's not really a valid question to ask. It is just not an automatic capability that is part of the product features at this time.
You can either use the feedback process to suggest an enhancement or post a question as to how you can adapt to this situation if you are looking to prevent allowing regular users deleting a Parent record when it has children.
------------------------------
Mark Shnier (Your Quickbase Coach)
mark.shnier@gmail.com
------------------------------
You can either use the feedback process to suggest an enhancement or post a question as to how you can adapt to this situation if you are looking to prevent allowing regular users deleting a Parent record when it has children.
------------------------------
Mark Shnier (Your Quickbase Coach)
mark.shnier@gmail.com
------------------------------
MarceloBenavide
3 years agoQrew Cadet
Good morning Mr. Shnier.
I think this is a valid question, in my 24 years of experience (software developer) it is the first software I know of that allows you to delete parent records from an entity relationship schema.
About looking for mechanisms to avoid this: I already did it, remove the options to delete all users and with URL - buttons and formulas I can control this situation (show or not a delete button for each record).
Having the capabilities to do what I've just mentioned I don't think will diminish or validate my question.
Thank you
Marcelo Benavides Torres
- MarkShnier__You3 years ago
Qrew Legend
Sorry, I was not trying to say that this would not be a useful feature. I'm just saying that given that this forum is mainly used for a peer to peer help each other type forum, the knowledge of why or why not a feature was build 20 years ago when Quickbase was invented is hard for us to answer.
In my case I block delete for all regular non admin users. Then a provide a checkbox to request deletion and have a Pipeline do the delete if there are no children.
The other reason not to automatically block deleting a parent if there are children, is that there are use cases where the desired outcome is to delete the parent and its children automatically so as not to leave Orphans. This can also be done with a Pipeline
------------------------------
Mark Shnier (Your Quickbase Coach)
mark.shnier@gmail.com
------------------------------- MarceloBenavide3 years agoQrew CadetThanks Mr. Shnier, Just now I understand your comment, this is not the appropriate forum for that question.Thank you!Marcelo Beanvides Torres
- KimG3 years agoQrew CadetHi Marcelo,
I think it's an interesting question, though actually in my usage I'm kind of glad that it doesn't work that way. In my database we have a trio of tables: grandparent A, parent B, and child C, which are:
A=Companies
B=Contacts
C=Notes.
We record Notes record that show on both the Contact and the Company record. When a Contact leaves a company, they get deleted because well, too many contacts clutter the search, etc.
However we want to preserve the Notes from our interactions with that person on the Company record because they may be relevant to ongoing business activities. So for us it is a good thing that we can delete that parent record (Contact) without deleting the child (Notes) which still appear on the grandparent (Company) record.
I do understand however that in other situations it can be annoying because you would end up with orphan children. (That does also happen in our system in other areas which I need to do a better job of keeping track of, though it's less common.)
------------------------------
Kim G
------------------------------