# (StP) "Set Property of Object" block doesn't work with Data Sources

**URL:** <https://community.thunkable.com/t/stp-set-property-of-object-block-doesnt-work-with-data-sources/2920394>\
**Category:** Issues / Bugs\
**Tags:** help\
**Created:** [March 30, 2024, 6:05am UTC](https://community.thunkable.com/t/stp-set-property-of-object-block-doesnt-work-with-data-sources/2920394 "2024-03-30T06:05:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dosantoss](https://avatars.discourse-cdn.com/v4/letter/d/d2c977/32.png) [@dosantoss](https://community.thunkable.com/u/dosantoss)\
**Post date:** [March 30, 2024, 6:05am UTC](https://community.thunkable.com/t/stp-set-property-of-object-block-doesnt-work-with-data-sources/2920394/1 "2024-03-30T06:05:19Z")

</div>

Hi,

In StP version, the “Get property XXX of object XXX” works fine with Data Sources:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/6/e/6e60123daf31d536e94ed27518a4d7bc764d02a4.png)

But when I try to change the value of the Data Sources cell using “Set property of object XXX”, the change doesn’t work:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/6/c/6c93ce425bb9d94cb0c50987ea6861ec06746d76.png)

Am I programing it wrong or is it just not possible?  
Thank you for your help!

---

<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:** [March 30, 2024, 6:33am UTC](https://community.thunkable.com/t/stp-set-property-of-object-block-doesnt-work-with-data-sources/2920394/2 "2024-03-30T06:33:20Z")

</div>

The `set property of object` block will only work with variables, not with data sources.

The reason for this is a bit technical… Thunkable converts each block (generally speaking) to a value. So when you use the `get row object` block, that block gets converted to an actual object meaning it’s no longer a data source. And then when you set the property of that object, it’s not stored anywhere… so you don’t see the change in your data source.

To set the value of a cell in your data source, use this block:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/3/8337913ff48ad1f5f0cb58f42844d6bc01ae634d.png)

You can learn more about updating data values here: [Data Sources Blocks | Drag and Drop | Thunkable Docs](https://docs.thunkable.com/blocks/app-features/data-sources-blocks#update-data)

---

<div class="post-metadata">

**Author:** ![dosantoss](https://avatars.discourse-cdn.com/v4/letter/d/d2c977/32.png) [@dosantoss](https://community.thunkable.com/u/dosantoss)\
**Post date:** [March 30, 2024, 6:39am UTC](https://community.thunkable.com/t/stp-set-property-of-object-block-doesnt-work-with-data-sources/2920394/3 "2024-03-30T06:39:19Z")

</div>

Complete and crystal clear answer, thank you very much Tatiang 🎩 👌
