Page 1 of 1

Master Detail plus second detail link

Posted: Mon Mar 20, 2017 6:37 am
by johnberman

I have a Master Detail Page which works just fine and they are linked via a unique ID

I have now added a second table linked back to the master using the same unique ID

When I click on the + sign to expand the table I now see the second table on a second tab and it shows the data as expected

If there is no matching data it still shows the second tab and says no records found

Would there be a way for it not to show the second tab if there are no records ?

Regards
John B


Re: Master Detail plus second detail link

Posted: Mon Mar 20, 2017 8:50 am
by mobhar

You may simply use "Startup Script" of "List Page" that belongs to your master table. Just check recordcount of your desired detail table, and if it returns less than 1, then hide the related tab based on its element id.