# Changing page source query not available

**URL:** <https://community.glideapps.com/t/changing-page-source-query-not-available/69293>\
**Category:** Report a Bug\
**Created:** [January 6, 2024, 1:45am UTC](https://community.glideapps.com/t/changing-page-source-query-not-available/69293 "2024-01-06T01:45:10Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![BLA\_68](https://avatars.discourse-cdn.com/v4/letter/b/977dab/32.png) [@BLA\_68](https://community.glideapps.com/u/BLA_68)\
**Post date:** [January 6, 2024, 1:45am UTC](https://community.glideapps.com/t/changing-page-source-query-not-available/69293/1 "2024-01-06T01:45:10Z")

</div>

Not sure if this is user error but it seems that query field is not available as a source for a page/screen if that page previously had another source selected. Here is what I’m seeing :

Create a new table. Add some items in column one. Create a query in column two with a source of another table that is filtered by “this row” and looks at the items in column one. Go back to the layout. Take an existing page/screen in the menu and change the page source to the new table. For the collection, choose the “source” drop down. The new query column is not shown, though it would be expected to be there.

Create a new page/screen with the new table as the source. For the collection, click the “source” drop down… query is there.

Now change the page/screen source on this newly created screen to another table. Then change it back to the new table. Hit the source “drop down” for the collection…query is not available.

Is this expected?

---

<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:** [January 6, 2024, 1:50am UTC](https://community.glideapps.com/t/changing-page-source-query-not-available/69293/2 "2024-01-06T01:50:09Z")

</div>

> [@BLA\_68](#):
>
> Add some items in row one. Create a query in row two

I don’t get this part. Wouldn’t the query apply to both rows?

Can you attach some screenshots?

---

<div class="post-metadata">

**Author:** ![BLA\_68](https://avatars.discourse-cdn.com/v4/letter/b/977dab/32.png) [@BLA\_68](https://community.glideapps.com/u/BLA_68)\
**Post date:** [January 6, 2024, 1:54am UTC](https://community.glideapps.com/t/changing-page-source-query-not-available/69293/3 "2024-01-06T01:54:23Z")

</div>

Wasn’t sure if the nature of the query mattered but thought I would describe the query I was using that showed the problem. Here’s a screenshot of the query in my new table

 ![Screenshot 2024-01-05 at 5.50.49 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/f/4/f46d379ebf48f314d50471e7a8e3973577439253.jpeg)  
This is just a sample obviously (the query doesn’t actually make sense), but I wanted to try to recreate from a newly created app, so I just kept the default tables and added a table and created a similar query.

---

<div class="post-metadata">

**Author:** ![BLA\_68](https://avatars.discourse-cdn.com/v4/letter/b/977dab/32.png) [@BLA\_68](https://community.glideapps.com/u/BLA_68)\
**Post date:** [January 6, 2024, 1:58am UTC](https://community.glideapps.com/t/changing-page-source-query-not-available/69293/4 "2024-01-06T01:58:58Z")

</div>

@ThinhDinh argh. I said row and I meant column in the original post. I’ve edited the post. 😀

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [January 6, 2024, 4:36am UTC](https://community.glideapps.com/t/changing-page-source-query-not-available/69293/5 "2024-01-06T04:36:31Z")

</div>

> [@BLA\_68](#):
>
> Create a new page/screen with the new table as the source. For the collection, click the “source” drop down… query is there.
> 
> Now change the page/screen source on this newly created screen to another table. Then change it back to the new table. Hit the source “drop down” for the collection…query is not available.

A query can never be the source of a tab/screen. It can only be the source of a collection. Are you sure you are not getting the two mixed up?

When you create a new screen from data, Glide gives you a collection layout style by default. You should be able to change the source of that collection to a query column. But not the screen itself.

---

<div class="post-metadata">

**Author:** ![BLA\_68](https://avatars.discourse-cdn.com/v4/letter/b/977dab/32.png) [@BLA\_68](https://community.glideapps.com/u/BLA_68)\
**Post date:** [January 6, 2024, 4:57am UTC](https://community.glideapps.com/t/changing-page-source-query-not-available/69293/6 "2024-01-06T04:57:29Z")

</div>

Yes. Good point and I did double check that I had the collection selected. In my app it would show some of the relations (so I was in the right place) but not the query.

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [January 6, 2024, 5:11am UTC](https://community.glideapps.com/t/changing-page-source-query-not-available/69293/7 "2024-01-06T05:11:22Z")

</div>

I tried to replicate what you described, but I was not able to get the same behaviour. That is, the query column remains selectable as a collection source after switching the screen source out and back.

I must admit though, it’s _very_ easy to get a bit lost when doing this, so you really have to pay careful attention to where you are and what you are clicking on.

---

<div class="post-metadata">

**Author:** ![BLA\_68](https://avatars.discourse-cdn.com/v4/letter/b/977dab/32.png) [@BLA\_68](https://community.glideapps.com/u/BLA_68)\
**Post date:** [January 6, 2024, 3:45pm UTC](https://community.glideapps.com/t/changing-page-source-query-not-available/69293/8 "2024-01-06T15:45:08Z")

</div>

Thanks for testing it. Very likely something on my end then. I’ll close this topic.

---

<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:** [January 13, 2024, 3:45pm UTC](https://community.glideapps.com/t/changing-page-source-query-not-available/69293/9 "2024-01-13T15:45:33Z")

</div>

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