# Accessing a simple list from a button

**URL:** <https://forum.adalo.com/t/accessing-a-simple-list-from-a-button/65617>\
**Category:** Get Help\
**Created:** [February 11, 2026, 11:19am UTC](https://forum.adalo.com/t/accessing-a-simple-list-from-a-button/65617 "2026-02-11T11:19:04Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![Kami](https://avatars.discourse-cdn.com/v4/letter/k/cab0a1/32.png) [@Kami](https://forum.adalo.com/u/Kami)\
**Post date:** [February 13, 2026, 12:58pm UTC](https://forum.adalo.com/t/accessing-a-simple-list-from-a-button/65617/9 "2026-02-13T12:58:26Z")

</div>

Hi @Dilon,

Thanks a lot for your help.

By some trial and error, I managed to get it working somehow.

(I believe my confusion essentially stemmed from my inability to decide which exact fields should act as foreign keys between  
the three tables and how to name these foreign key fields.)

(1) logged in caregiver patients list → (2) patient details

→ (3) Patient medications list → (4) Patient medication details

(1)

 ![13-02-26 s1](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/2/f/2fbec081e778edef7d00946613dc9b1a45dc38a5.png)

(2)

 ![13-02-26 s2](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/2/a/2aafcbb299d9a3d0a678e8baa89fc1e09d1a80a7.png)

(3)

 ![13-02-26 s3](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/6/d/6dac50ca614599e21ed03a304609763c3db2b3cd.png)

(4)

 ![13-02-26 s4](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/1/5/15e9456dd5d5eb7fba1e0a86e95fae57467eca62.png)

Thanks for your help.

Kâmi

---

_[View the full topic](https://forum.adalo.com/t/accessing-a-simple-list-from-a-button/65617)._
