Page 1 of 1
Child Tab Problem
Posted: 2021-05-13 22:22
by rpierce
I have a table, "Projects", that has 10 child tables. In one of the child tables "daily_rpt", there are 3 fields that look up data from the "Project" table. I want to show a tab for the "daily_rpt" below the detail view in the "Project" table. The issue I have is that a tab is shown for each of the 3 child fields from the "daily_rpt". Is there a way to show only 1 tab in the "Project" detail view even though there are 3 child fields from the "daily_rpt" table??
Thank you kindly!

Re: Child Tab Problem
Posted: 2021-05-14 05:48
by onoehring
Hi,
your lookup should pull the primary key only in all cases ... does it do that?
If no, maybe this will solve your problem.
Otherwise, you could use JS to remove (hide) the tabs you do no want.
Olaf
Re: Child Tab Problem
Posted: 2021-05-14 15:14
by rpierce
Hi Olaf,
Yes, one of the lookup fields pulls the primary key from the Project table. I also want to pull other data from the Project table in addition to the primary key. That is all working fine other than the additional tabs that appear when in Detail view of the Project table.
Sadly, I have no experience with JS....
Re: Child Tab Problem
Posted: 2021-05-14 19:25
by pbottcher
Hi,
there is only the way to hide (or remove) the tabs through a js as they are generated in the parent-child relation and this is not configurable.
Re: Child Tab Problem
Posted: 2021-05-15 14:44
by ksabra
A very simple solution In appgini program In a table "daily_rpt"
there are 3 fields that look up data from the "Project" table
You should define two of the three look up fields as (Auto-fill)
You will find it in the tab (lookup field) Next to the option (show as radio button)
Then regenerate and you will get what you want