# How to connect search bar to multiple collections

**URL:** <https://community.glideapps.com/t/how-to-connect-search-bar-to-multiple-collections/66825>\
**Category:** Ask for Help\
**Created:** [October 7, 2023, 5:21pm UTC](https://community.glideapps.com/t/how-to-connect-search-bar-to-multiple-collections/66825 "2023-10-07T17:21:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Katelyn\_Alberts](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/katelyn_alberts/32/44421_2.png) [@Katelyn\_Alberts](https://community.glideapps.com/u/Katelyn_Alberts)\
**Post date:** [October 7, 2023, 5:21pm UTC](https://community.glideapps.com/t/how-to-connect-search-bar-to-multiple-collections/66825/1 "2023-10-07T17:21:13Z")

</div>

It looks like the new glide tables doesn’t have a top-of-the-page search bar available for the whole page.

Maybe that’s just if it’s a custom style tab? However I want to be able to at least have a search bar that can search multiple collections within one container.

Is this possible? Right now, it forces me to have a search bar for each collection which messes up the flow and doesn’t really make sense.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/f/9fe97d2c9056131b930dcbd10a655208a25ec814.jpeg)

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/e/8/e858380717e4beac1e32c39a72b6e88fac2ea3b6.jpeg)

---

<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:** [October 7, 2023, 7:03pm UTC](https://community.glideapps.com/t/how-to-connect-search-bar-to-multiple-collections/66825/2 "2023-10-07T19:03:00Z")

</div>

There is no global search bar for multiple collections with New Apps. The closest you could get would be to build your own with a text entry component, a singe value component to bring that search value into each relevant table, and then set your filters accordingly to compare that single value to each column you want to search.

---

<div class="post-metadata">

**Author:** ![Katelyn\_Alberts](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/katelyn_alberts/32/44421_2.png) [@Katelyn\_Alberts](https://community.glideapps.com/u/Katelyn_Alberts)\
**Post date:** [October 8, 2023, 1:09am UTC](https://community.glideapps.com/t/how-to-connect-search-bar-to-multiple-collections/66825/3 "2023-10-08T01:09:44Z")

</div>

Hey Jeff, I haven’t tried to tackle this yet, and therefore haven’t fully comprehended how do it.

Is it going to be challenging to have that single value text entry connect to a bunch of columns from the data table? I currently have it known that users can search for anything in the profiles relevant to what they’re looking for.

thanks for your help!

---

<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:** [October 8, 2023, 1:20am UTC](https://community.glideapps.com/t/how-to-connect-search-bar-to-multiple-collections/66825/4 "2023-10-08T01:20:53Z")

</div>

> [@Katelyn\_Alberts](#):
>
> Is it going to be challenging to have that single value text entry connect to a bunch of columns from the data table?

Yeah, it is what it is.

First, you have to bring the search value to each table.

Next, create an if-then-else column to compare that to each column that you want to be searchable. Say if search value is contained in column X then true, contained in column Y then true.

Repeat that for every table.

---

<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:** [October 8, 2023, 1:21am UTC](https://community.glideapps.com/t/how-to-connect-search-bar-to-multiple-collections/66825/5 "2023-10-08T01:21:10Z")

</div>

Your best bet would be an IF column with a bunch of ‘Included In’ comparisons to check if the single value is included in each of the columns you want to search. The first one with a match would return true, and you can show that row.

I should also mention that this method can use up updates if your users are signed in.
