Child Tab Problem

If you're a new user of AppGini, feel free to ask general usage questions, or look for answers here.
Post Reply
rpierce
Veteran Member
Posts: 255
Joined: 2018-11-26 13:55
Location: Washington State

Child Tab Problem

Post by rpierce » 2021-05-13 22:22

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! :D
Attachments
child tabs.JPG
child tabs.JPG (22.78 KiB) Viewed 1268 times

User avatar
onoehring
AppGini Super Hero
AppGini Super Hero
Posts: 1156
Joined: 2019-05-21 22:42
Location: Germany
Contact:

Re: Child Tab Problem

Post by onoehring » 2021-05-14 05:48

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

rpierce
Veteran Member
Posts: 255
Joined: 2018-11-26 13:55
Location: Washington State

Re: Child Tab Problem

Post by rpierce » 2021-05-14 15:14

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....

pbottcher
AppGini Super Hero
AppGini Super Hero
Posts: 1635
Joined: 2018-04-01 10:12

Re: Child Tab Problem

Post by pbottcher » 2021-05-14 19:25

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.
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.

ksabra
Posts: 8
Joined: 2020-05-26 11:58

Re: Child Tab Problem

Post by ksabra » 2021-05-15 14:44

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

Post Reply