# Datasource update

**URL:** https://community.thunkable.com/t/datasource-update/1608569
**Category:** Questions about Thunkable X
**Tags:** beginner
**Created:** [November 10, 2021, 11:29pm UTC](https://community.thunkable.com/t/datasource-update/1608569 "2021-11-10T23:29:22Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![sibkin429byi](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/sibkin429byi/32/120709_2.png) [@sibkin429byi](https://community.thunkable.com/u/sibkin429byi)
#### Post date: [November 10, 2021, 11:29pm UTC](https://community.thunkable.com/t/datasource-update/1608569/1 "2021-11-10T23:29:22Z")

</div>

I am working on an application that uses google spreadsheet as a data source.

When I press a certain button, I am trying to add +1 to the value of a particular cell.

I constructed the app to get the value of the cell, assign it to a variable, and update the cell with the value of the variable.

It seemed to work well, but when I start the app, the update to a single cell is done only once.  
If I relaunch the app, I can perform +1 to a single cell only once.

The block is designed to get the contents of the data source cell every time the button is pressed, but even if the +1 is executed once to update the data source cell, the next time the button is processed, it does not seem to read the value that was +1 in the previous operation.

In other words, it seems to always adopt the content of the data source that was read at app startup.

To solve this, I think I need a command that will reload the data source into the app.  
Is there a solution?

---

<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: [November 11, 2021, 1:28am UTC](https://community.thunkable.com/t/datasource-update/1608569/2 "2021-11-11T01:28:53Z")

</div>

There is an issue with `get value` not getting the updated values of the cell. @cassandra can you look into this please?

The workaround is to use `get row` and then use the `get object property` to see the updated value of the cell.

---

<div class="post-metadata">

### Author: ![sibkin429byi](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/sibkin429byi/32/120709_2.png) [@sibkin429byi](https://community.thunkable.com/u/sibkin429byi)
#### Post date: [November 11, 2021, 4:18am UTC](https://community.thunkable.com/t/datasource-update/1608569/3 "2021-11-11T04:18:21Z")

</div>

Thank you for reply.  
I am a begginer.  
I will try to your mentioned `get row` and `get object property` what can do by that.  
Please, reply when you found good solutions.  
and, sorry for my poor English.

keep in touch.

---

<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: [November 11, 2021, 8:33am UTC](https://community.thunkable.com/t/datasource-update/1608569/4 "2021-11-11T08:33:22Z")

</div>

Welcome to Thunkable.

See this example  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/2/120332ee912ae9eee543bb929caedc766e12d0ee.png)

This will get the column **time period** of row **1** and will always get the updated value and display it in a label named **LabelMsg**

---

<div class="post-metadata">

### Author: ![sibkin429byi](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/sibkin429byi/32/120709_2.png) [@sibkin429byi](https://community.thunkable.com/u/sibkin429byi)
#### Post date: [November 11, 2021, 8:56am UTC](https://community.thunkable.com/t/datasource-update/1608569/5 "2021-11-11T08:56:19Z")

</div>

> [@muneer](#):
>
> This will get the column **time period** of row **1** and will always get the updated value and display it in a label named **LabelMsg**

amazing!!! It works !!! 😀  
Thank you !!!

---

<div class="post-metadata">

### Author: ![cassandra](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/cassandra/32/115809_2.png) [@cassandra](https://community.thunkable.com/u/cassandra)
#### Post date: [November 11, 2021, 1:03pm UTC](https://community.thunkable.com/t/datasource-update/1608569/6 "2021-11-11T13:03:59Z")

</div>

Thanks for raising this, @muneer and helping @sibkin429byi find a solution!

I’ll look into this with the team.

---

<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: [November 11, 2021, 1:29pm UTC](https://community.thunkable.com/t/datasource-update/1608569/7 "2021-11-11T13:29:51Z")

</div>

@cassandra  
Please see this post as it has more explanation and I have copied in it another older post with similar issue.

> [@Google sheet not updating](https://community.thunkable.com/t/google-sheet-not-updating/1595769):
>
> Hi all. I am using google sheets in My project. However whenever i update a value e.g. dark mode: On/Off the value does not update and the screen stays in dark/light mode depending on the users setting. How do i solve this? P.s. When refreshing the app it does update. Thanks

---

<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:14pm UTC](https://community.thunkable.com/t/datasource-update/1608569/8 "2024-11-08T13:14:25Z")

</div>


