# Getting Related Data

**URL:** https://community.glideapps.com/t/getting-related-data/24731
**Category:** Ask for Help
**Created:** [March 25, 2021, 6:19pm UTC](https://community.glideapps.com/t/getting-related-data/24731 "2021-03-25T18:19:42Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![IanApp](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ianapp/32/23412_2.png) [@IanApp](https://community.glideapps.com/u/IanApp)
#### Post date: [March 25, 2021, 6:19pm UTC](https://community.glideapps.com/t/getting-related-data/24731/1 "2021-03-25T18:19:42Z")

</div>

My app has a screen that is a detail view for a restaurants food special, I have a relation included that allows users to click through and get more info about the restaurant…But how can I use the related restaurant data (phone & url) to make these “phone order” and “online order” buttons work?

Thanks everyone

 ![14ac5f34-1691-4331-9d68-57548255ec04](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/0/3/031bd12a362bc0a2c65eb8465fdef0af4e6fe9d0.png)

---

<div class="post-metadata">

### Author: ![Darren\_Alderman](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_alderman/32/66660_2.png) [@Darren\_Alderman](https://community.glideapps.com/u/Darren_Alderman)
#### Post date: [March 25, 2021, 6:24pm UTC](https://community.glideapps.com/t/getting-related-data/24731/2 "2021-03-25T18:24:05Z")

</div>

I think what you are looking for is a Lookup Column. This will allow you to “lookup” the phone and url based on the restaurant relation and use on the details screen.

> **[Lookup Column](https://docs.glideapps.com/all/reference/data-editor/computed-columns/lookup-column)**
>
> Lookup values from another table

---

<div class="post-metadata">

### Author: ![IanApp](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ianapp/32/23412_2.png) [@IanApp](https://community.glideapps.com/u/IanApp)
#### Post date: [March 25, 2021, 6:28pm UTC](https://community.glideapps.com/t/getting-related-data/24731/3 "2021-03-25T18:28:03Z")

</div>

Yep! Thank you very much!

---

<div class="post-metadata">

### Author: ![NoCodeAndy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nocodeandy/32/62530_2.png) [@NoCodeAndy](https://community.glideapps.com/u/NoCodeAndy)
#### Post date: [January 17, 2024, 4:52pm UTC](https://community.glideapps.com/t/getting-related-data/24731/4 "2024-01-17T16:52:52Z")

</div>


