# Segment

**URL:** <https://community.glideapps.com/t/segment/26841>\
**Category:** Ask for Help\
**Created:** [May 16, 2021, 7:42am UTC](https://community.glideapps.com/t/segment/26841 "2021-05-16T07:42:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![apcovid\_glideapps](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/apcovid_glideapps/32/26357_2.png) [@apcovid\_glideapps](https://community.glideapps.com/u/apcovid_glideapps)\
**Post date:** [May 16, 2021, 7:42am UTC](https://community.glideapps.com/t/segment/26841/1 "2021-05-16T07:42:56Z")

</div>

Hi,  
I am looking for similar type of execution, you have a tabs, like Search by PIN and Search by District - Then when clicked on Search by PIN - Only items relevant to search by PIN should appear and When clicked on Search by Distrtict - consequently, the relevant content need to be appeared " WITHIN THE SAME SCREEN" but not navigating to other screen.

 ![Screenshot 2021-05-16 at 12.29.42 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/c/5/c599ebcf81fc83bf2459f5b7cc03218075cf7d54.png)

Reference: [ion-segment: Ionic Framework API Docs](https://ionicframework.com/docs/api/segment)

---

<div class="post-metadata">

**Author:** ![V88](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/v88/32/90054_2.png) [@V88](https://community.glideapps.com/u/V88)\
**Post date:** [May 16, 2021, 7:55am UTC](https://community.glideapps.com/t/segment/26841/2 "2021-05-16T07:55:08Z")

</div>

You can use a choice component with a user specific column to determine which “search box” to show and which set of results to show. The results themselves can be based on a filter using the relevant search box content.

---

<div class="post-metadata">

**Author:** ![apcovid\_glideapps](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/apcovid_glideapps/32/26357_2.png) [@apcovid\_glideapps](https://community.glideapps.com/u/apcovid_glideapps)\
**Post date:** [May 16, 2021, 4:14pm UTC](https://community.glideapps.com/t/segment/26841/3 "2021-05-16T16:14:19Z")

</div>

Hi, I barely understood what you have communicated. Would you mind helping me on the same, Bcoz we are already lacking deploying this app for covid positive patients.

---

<div class="post-metadata">

**Author:** ![V88](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/v88/32/90054_2.png) [@V88](https://community.glideapps.com/u/V88)\
**Post date:** [May 16, 2021, 4:34pm UTC](https://community.glideapps.com/t/segment/26841/4 "2021-05-16T16:34:00Z")

</div>

Sure. I’ll try.

If you create a user specific column you can use it to store whether the current user has selected search by PIN or search by District. Making it a user specific column means that every user has their own copy. This could just hold a text value e.g. PIN or District. You would then use this value to control visibility of the appropriate components.

Hope this makes sense.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [May 16, 2021, 11:04pm UTC](https://community.glideapps.com/t/segment/26841/5 "2021-05-16T23:04:49Z")

</div>

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/7/7/77af5fc4f8c8b573cbdf3167aac5165a755f7bed.png)

@V88 meant something like this.
