# Data Source with Table not working properly

**URL:** https://community.thunkable.com/t/data-source-with-table-not-working-properly/1330469
**Category:** Questions about Thunkable X
**Created:** [June 7, 2021, 11:44am UTC](https://community.thunkable.com/t/data-source-with-table-not-working-properly/1330469 "2021-06-07T11:44:40Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![rudivoballmoos](https://avatars.discourse-cdn.com/v4/letter/r/a4c791/32.png) [@rudivoballmoos](https://community.thunkable.com/u/rudivoballmoos)
#### Post date: [June 7, 2021, 11:44am UTC](https://community.thunkable.com/t/data-source-with-table-not-working-properly/1330469/1 "2021-06-07T11:44:40Z")

</div>

I had some issues with data source table. First i have a settings page where users can choose some values with different sliders. Onchange i write the new values to the table. That works fine!

But if i use the same table to store dynamic some more values to the table, then i can’t read those values correct. They seem to be not changed and therefore if i read later those values they are NOT correct. I tried many hours… then i wrote the same values to app variables instead of the table and everything works just fine!

In my opinion the data source table does not work as it should. I would like to store values in this table and access them later from another page or anywhere. That seems not to work unless i use app variables.

---

<div class="post-metadata">

### Author: ![hartmailggg03m02](https://avatars.discourse-cdn.com/v4/letter/h/db5fbb/32.png) [@hartmailggg03m02](https://community.thunkable.com/u/hartmailggg03m02)
#### Post date: [June 7, 2021, 11:55am UTC](https://community.thunkable.com/t/data-source-with-table-not-working-properly/1330469/2 "2021-06-07T11:55:36Z")

</div>

there is a problem with repeated access to the database, the extracted data is outdated. There are no such problems when writing to the database. The data is updated only after the application is restarted. We are waiting for this problem to be fixed

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [June 7, 2021, 12:04pm UTC](https://community.thunkable.com/t/data-source-with-table-not-working-properly/1330469/3 "2021-06-07T12:04:23Z")

</div>

Can you show your code blocks?

Which data source table specifically are you referring to?

---

<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: [June 7, 2021, 4:05pm UTC](https://community.thunkable.com/t/data-source-with-table-not-working-properly/1330469/4 "2021-06-07T16:05:55Z")

</div>

How are you displaying your data?

In a label… a list viewer… a data viewer list?

---

<div class="post-metadata">

### Author: ![rudivoballmoos](https://avatars.discourse-cdn.com/v4/letter/r/a4c791/32.png) [@rudivoballmoos](https://community.thunkable.com/u/rudivoballmoos)
#### Post date: [June 7, 2021, 6:16pm UTC](https://community.thunkable.com/t/data-source-with-table-not-working-properly/1330469/5 "2021-06-07T18:16:19Z")

</div>

i started with using only data source table. It did not work properly. everywhere it did not work i replaced it and used app variables instead. this version here works now.

 ![Bildschirmfoto 2021-06-07 um 20.13.03](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/1/51a9fcda4132084118856c30db5f136c8f7d2a38.png)  
 ![Bildschirmfoto 2021-06-07 um 20.14.11](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/b/bbae5f4cb2fa2c79a0b3c42dcd392b91cf69e5d8.png)

---

<div class="post-metadata">

### Author: ![rudivoballmoos](https://avatars.discourse-cdn.com/v4/letter/r/a4c791/32.png) [@rudivoballmoos](https://community.thunkable.com/u/rudivoballmoos)
#### Post date: [June 7, 2021, 6:18pm UTC](https://community.thunkable.com/t/data-source-with-table-not-working-properly/1330469/6 "2021-06-07T18:18:52Z")

</div>

i change the value displayed in the button. it’s a chesstimer.

---

<div class="post-metadata">

### Author: ![rudivoballmoos](https://avatars.discourse-cdn.com/v4/letter/r/a4c791/32.png) [@rudivoballmoos](https://community.thunkable.com/u/rudivoballmoos)
#### Post date: [June 7, 2021, 6:21pm UTC](https://community.thunkable.com/t/data-source-with-table-not-working-properly/1330469/7 "2021-06-07T18:21:07Z")

</div>

I think too it does not work as it should.

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [June 7, 2021, 6:53pm UTC](https://community.thunkable.com/t/data-source-with-table-not-working-properly/1330469/8 "2021-06-07T18:53:56Z")

</div>

The problem explained by @hartmailggg03m02 relates to external tables only and not to local tables so this is not the source of your issue.

In your code, you are showing the `change` event of 2 sliders and the `opens` event of 2 screens. In the `play` screen you are making reference to app variables `timer, time1 and time2` but your code does not show how you initialized these variables and what values they initially hold. Without these variables your test conditions could be evaluating `false` and therefore nothing happens.

Please show the codes related to the 3 variables and why you decided to use the variable blocks by reference instead the standard variable blocks.

---

<div class="post-metadata">

### Author: ![hartmailggg03m02](https://avatars.discourse-cdn.com/v4/letter/h/db5fbb/32.png) [@hartmailggg03m02](https://community.thunkable.com/u/hartmailggg03m02)
#### Post date: [June 7, 2021, 8:03pm UTC](https://community.thunkable.com/t/data-source-with-table-not-working-properly/1330469/9 "2021-06-07T20:03:17Z")

</div>

yes, I don’t deny that the problem is inherent, for example, for airtable

---

<div class="post-metadata">

### Author: ![rudivoballmoos](https://avatars.discourse-cdn.com/v4/letter/r/a4c791/32.png) [@rudivoballmoos](https://community.thunkable.com/u/rudivoballmoos)
#### Post date: [June 8, 2021, 12:24pm UTC](https://community.thunkable.com/t/data-source-with-table-not-working-properly/1330469/10 "2021-06-08T12:24:46Z")

</div>

the vars are all initialized with 0. tha app works like that. before i wanted to read/write dynamic to the table. but it did not work at all. try it yourself… there are some issues with “update value in” block… but it seems to work for the slider… therefore i did not change those blocks.

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [June 8, 2021, 12:47pm UTC](https://community.thunkable.com/t/data-source-with-table-not-working-properly/1330469/11 "2021-06-08T12:47:10Z")

</div>

Should you want me to check your codes, send me the project link.

As for my side, I use it daily and I know it works.

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 8, 2024, 1:20pm UTC](https://community.thunkable.com/t/data-source-with-table-not-working-properly/1330469/12 "2024-11-08T13:20:26Z")

</div>


