# Google sheets not saving data

**URL:** <https://community.thunkable.com/t/google-sheets-not-saving-data/2174940>\
**Category:** Issues / Bugs\
**Tags:** important\
**Created:** [December 11, 2022, 9:52am UTC](https://community.thunkable.com/t/google-sheets-not-saving-data/2174940 "2022-12-11T09:52:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dreamcore](https://avatars.discourse-cdn.com/v4/letter/d/bb73d2/32.png) [@dreamcore](https://community.thunkable.com/u/dreamcore)\
**Post date:** [December 11, 2022, 9:52am UTC](https://community.thunkable.com/t/google-sheets-not-saving-data/2174940/1 "2022-12-11T09:52:50Z")

</div>

I am unable to update data in GSheets. URL is here  
[https://x.thunkable.com/copy/eab72dd65cc58b693f61161caa8154c3](https://x.thunkable.com/copy/eab72dd65cc58b693f61161caa8154c3)

---

<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:** [December 11, 2022, 11:24am UTC](https://community.thunkable.com/t/google-sheets-not-saving-data/2174940/2 "2022-12-11T11:24:19Z")

</div>

You can’t use the loop variable i outside of the loop block. So you’ll need to assign a different variable to i’s value and then use that on the second screen.

---

<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:12pm UTC](https://community.thunkable.com/t/google-sheets-not-saving-data/2174940/3 "2024-11-08T13:12:40Z")

</div>


