# Different Details Screen based on the tab

**URL:** <https://community.glideapps.com/t/different-details-screen-based-on-the-tab/58442>\
**Category:** Ask for Help\
**Created:** [February 24, 2023, 8:59pm UTC](https://community.glideapps.com/t/different-details-screen-based-on-the-tab/58442 "2023-02-24T20:59:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![galy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/galy/32/12322_2.png) [@galy](https://community.glideapps.com/u/galy)\
**Post date:** [February 24, 2023, 8:59pm UTC](https://community.glideapps.com/t/different-details-screen-based-on-the-tab/58442/1 "2023-02-24T20:59:43Z")

</div>

I am developing an app with two tabs. Each tab shows a list of items taken from the same table. (It doesn’t show the same item using a condition). When I press one of the items, I would like that the Detail Screen of the items will be based on the tab I came from. How do I do that?

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [February 24, 2023, 9:04pm UTC](https://community.glideapps.com/t/different-details-screen-based-on-the-tab/58442/2 "2023-02-24T21:04:13Z")

</div>

Change the action on the list in one of the tabs to ‘Show New Screen’ instead of ‘Show Detail Screen’.

---

<div class="post-metadata">

**Author:** ![galy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/galy/32/12322_2.png) [@galy](https://community.glideapps.com/u/galy)\
**Post date:** [February 24, 2023, 9:25pm UTC](https://community.glideapps.com/t/different-details-screen-based-on-the-tab/58442/3 "2023-02-24T21:25:26Z")

</div>

Thanks for the fast reply!  
I chose ‘Show New Screen’, and then I chose for that screen the ‘Details’ layout. But it always shows me the first item in the list - how do I show the item I pressed on?

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [February 24, 2023, 9:39pm UTC](https://community.glideapps.com/t/different-details-screen-based-on-the-tab/58442/4 "2023-02-24T21:39:01Z")

</div>

Did you choose ‘This Item’ when changing the action to ‘Show New Screen’, or did you choose the table? ‘This Item’ will keep you on the same row item that you selected from the list.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [February 25, 2023, 9:39pm UTC](https://community.glideapps.com/t/different-details-screen-based-on-the-tab/58442/5 "2023-02-25T21:39:03Z")

</div>

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
