# Update text property of label or textbox

**URL:** <https://community.thunkable.com/t/update-text-property-of-label-or-textbox/1592514>\
**Category:** Questions about Thunkable X\
**Created:** [November 1, 2021, 5:32pm UTC](https://community.thunkable.com/t/update-text-property-of-label-or-textbox/1592514 "2021-11-01T17:32:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![khawschurch](https://avatars.discourse-cdn.com/v4/letter/k/67e7ee/32.png) [@khawschurch](https://community.thunkable.com/u/khawschurch)\
**Post date:** [November 1, 2021, 5:32pm UTC](https://community.thunkable.com/t/update-text-property-of-label-or-textbox/1592514/1 "2021-11-01T17:32:49Z")

</div>

I’m trying to get either a label or textbox to display data from Google Sheets.  
I’m manually updating data in Sheets, so no need to update data from the app.  
The data in the DataViewerList and the label loads fine on app start, but then once I change the data in Sheets, the label.text or textbox.text will not update. I’ve tried several methods using different Get or even setting variable procedures.  
Using a DataViewerList or Grid, the data updates fine in these. But unfortunately, these do not give me the formatting options I need, hence I’m using labels/tb’s.  
How do I get the text property of labels or textboxs to update after the data changes without having to exit/restart the app?

Sample data in Sheets (two columns - Title and Name)  
Title-------------------Name  
Presiding------------Pres Day  
Conducting---------Bishop Brooks  
Organist-------------Johnathan Summers

Blocks:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/1/116ef578d855633debb8484aed76e97e22a4bccd.png)

Screen on startup with correct values:

 ![Screen Shot 2021-10-31 at 9.10.43 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/4/842dfcf52dc26a007a3f2b25bf36196ef3f40e06.png)

Screen after Sheets is updated and update button pressed: (It puts the original/startup text back in the label no matter if I set it to blank or even change it first. You can see the DataViewerList updated, but the label.text did not)

 ![Screen Shot 2021-10-31 at 9.11.27 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/f/3fa81edd7b8bba9b5b4f0496930b4f384ab0d297.png)

Sounds simple enough. But can’t make this work. Ideas greatly appreciated.

---

<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 2, 2021, 6:46am UTC](https://community.thunkable.com/t/update-text-property-of-label-or-textbox/1592514/2 "2021-11-02T06:46:26Z")

</div>

Check my post in response to a similar issue

> [@Refresh Google Sheet Data Source while the app is open](https://community.thunkable.com/t/refresh-google-sheet-data-source-while-the-app-is-open/1279783/12):
>
> There seems to be a problem with the Get value block taking the values from cached source but the Get row object seems to have the updated values [image] Using this method you will get all columns then you need to use the object properties to retrieve the required column. [image]

---

<div class="post-metadata">

**Author:** ![khawschurch](https://avatars.discourse-cdn.com/v4/letter/k/67e7ee/32.png) [@khawschurch](https://community.thunkable.com/u/khawschurch)\
**Post date:** [December 22, 2021, 2:04am UTC](https://community.thunkable.com/t/update-text-property-of-label-or-textbox/1592514/3 "2021-12-22T02:04:56Z")

</div>

The get value block used this way still does not work. Any ETA?  
The Get row object using the corresponding property updates the text box, but only once. If additional updates are made, it will not update again unless the app is restarted. This is the same using both the web preview and the Live app (android). Can this be made to work for subsequent updates to the spreadsheet?  
Better yet, is there a way to link the text in a textbox to the corresponding line in the DataViewerList, since the DataViewerList seems to update each time without issue? That would seem most efficient.

Thank you once again.

---

<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/update-text-property-of-label-or-textbox/1592514/4 "2024-11-08T13:14:30Z")

</div>


