# Querying an Airtable base

**URL:** <https://community.thunkable.com/t/querying-an-airtable-base/2577247>\
**Category:** Questions about Thunkable X\
**Created:** [September 4, 2023, 10:07pm UTC](https://community.thunkable.com/t/querying-an-airtable-base/2577247 "2023-09-04T22:07:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![steve\_synopsis](https://avatars.discourse-cdn.com/v4/letter/s/48db29/32.png) [@steve\_synopsis](https://community.thunkable.com/u/steve_synopsis)\
**Post date:** [September 4, 2023, 10:07pm UTC](https://community.thunkable.com/t/querying-an-airtable-base/2577247/1 "2023-09-04T22:07:03Z")

</div>

I am working through how best to query a table in Airtable.

I have a table with names and employee grades and want the users to be able select the specific grade via a button and a list of all employees in that grade will be shown in a Data Listing. The user can then select the particular employee to get more information on another screen.

There are 5 grades of employees and at first, I had them all in one table and was following a YouTube video where it was suggested that the grades could be separated by the use of views. I did this but could not find out how to query the particular view based on the users selection.

I then separated the grades into different tables but still cannot figure how to select the table based on the button selection (which I am saving to a variable).

In my searching, I came across this post which has a block (the purple One) which I cannot locate in the components. I am not sure if this is what I want but it is below -

 ![2023-09-04 17 48 40](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/b/4bc4912f5eca008973a4c8818f6608c30483dd2d.png)

If it is not this block, or if it does not exist anymore, I would I go about running my query?

Thanks  
Steve

---

<div class="post-metadata">

**Author:** ![samclever](https://avatars.discourse-cdn.com/v4/letter/s/ec9cab/32.png) [@samclever](https://community.thunkable.com/u/samclever)\
**Post date:** [September 5, 2023, 2:50am UTC](https://community.thunkable.com/t/querying-an-airtable-base/2577247/2 "2023-09-05T02:50:17Z")

</div>

If you are trying to call from a different table use this block. When you press the button have it tied to each table you want to call/get data from.  
 ![AirTable1](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/9/a9558841819936447e3f9de739d0d19c5945bbcc.png)

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [September 5, 2023, 5:02am UTC](https://community.thunkable.com/t/querying-an-airtable-base/2577247/3 "2023-09-05T05:02:17Z")

</div>

The `get row object` block is in the Data Sources drawer:

 ![Screenshot 2023-09-04 at 10.01.02 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/2/328fa7c09b95d57bd264fa33453b8c1624269cd9.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [December 4, 2023, 5:02am UTC](https://community.thunkable.com/t/querying-an-airtable-base/2577247/4 "2023-12-04T05:02:44Z")

</div>

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