Parent-Child Records - Hide tabs without Associated Records
Posted: 2016-11-29 18:36
All,
Latest release of appgini!
Here's an example row from my application - a record from my Persons table;
https://ada.abernyte.org/ContentItem_Pe ... ectedID=45
If you scroll to the bottom, you can see the Child/Parent relationships of this table - this guy has associated records in a number of other tables in my system. This is all good.
I'm wondering, however, is there a way to hide the tabs where he doesn't have associated records? For example, He doesn't have any associated "Person Images" or "Census" records, yet they're still shown (albeit with a "No Matches Found" message) - could code modifications be made to hide these buttons/tabs altogether (until an associated record is added, then they'd appear)?
Any ideas?
Thanks!
Latest release of appgini!
Here's an example row from my application - a record from my Persons table;
https://ada.abernyte.org/ContentItem_Pe ... ectedID=45
If you scroll to the bottom, you can see the Child/Parent relationships of this table - this guy has associated records in a number of other tables in my system. This is all good.
I'm wondering, however, is there a way to hide the tabs where he doesn't have associated records? For example, He doesn't have any associated "Person Images" or "Census" records, yet they're still shown (albeit with a "No Matches Found" message) - could code modifications be made to hide these buttons/tabs altogether (until an associated record is added, then they'd appear)?
Any ideas?
Thanks!