# Can't save to local database

**URL:** <https://community.thunkable.com/t/cant-save-to-local-database/3300438>\
**Category:** Questions about Thunkable X\
**Created:** [October 25, 2024, 5:48pm UTC](https://community.thunkable.com/t/cant-save-to-local-database/3300438 "2024-10-25T17:48:50Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![cannabisxrsa65u9cl](https://avatars.discourse-cdn.com/v4/letter/c/49beb7/32.png) [@cannabisxrsa65u9cl](https://community.thunkable.com/u/cannabisxrsa65u9cl)\
**Post date:** [October 25, 2024, 5:48pm UTC](https://community.thunkable.com/t/cant-save-to-local-database/3300438/1 "2024-10-25T17:48:50Z")

</div>

Hey guys. I’m trying to save inputs text to a local DB table but for some odd reason it does not save into the DB. Am I missing something with my logic below or do I need a membership to be able to do this?

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/0/307930ff808892d139323de232e527962e8f1937.png)

---

<div class="post-metadata">

**Author:** ![matt\_conroy](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/matt_conroy/32/150843_2.png) [@matt\_conroy](https://community.thunkable.com/u/matt_conroy)\
**Post date:** [October 25, 2024, 6:34pm UTC](https://community.thunkable.com/t/cant-save-to-local-database/3300438/2 "2024-10-25T18:34:31Z")

</div>

Hi cannabisxrsa65u9cl, welcome to Thunkable! 🎉

Be sure to check out [How to ask Great Questions v2.0](https://community.thunkable.com/t/how-to-ask-great-questions-v2-0/2689983/1), the [Community Guidelines](https://community.thunkable.com/t/community-guidelines/78/8), and our [Getting Started Guide](https://docs.thunkable.com/getting-started/get-started) to make the best of your Thunkable Community experience!

Storing data is not tied to a specific plan, it is available to all Creators on Thunkable. If you’re creating rows in a local table data source, you would need to set to the source as a [Stored Data Source](https://docs.thunkable.com/getting-started/data-sources/data-sources-3#create-a-local-data-source), otherwise the table will reset each time you open the app.

---

<div class="post-metadata">

**Author:** ![steve\_synopsis](https://avatars.discourse-cdn.com/v4/letter/s/48db29/32.png) [@steve\_synopsis](https://community.thunkable.com/u/steve_synopsis)\
**Post date:** [October 28, 2024, 6:44pm UTC](https://community.thunkable.com/t/cant-save-to-local-database/3300438/3 "2024-10-28T18:44:48Z")

</div>

Hi,

Just to note, you are only able to view the first 3 rows in a local table (this is something that has come up time and time again and the developers have been asked if this cannot be changed, but so far nothing). This means that the data may be being saved to the database but as you are not able to view it, you may think that it is not being stored.

What you can do to make sure that the data is being stored is to include a label called confirm, set it to the number of rows in the table as well as the last row of the table and display it after each submission.

 ![2024-10-28 14 42 23](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/e/0eb866110c3e79b4a03d8f2ec0a7445b5a3adf49.png)

Hope that this helps you.

Steve

---

<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 2, 2024, 1:17am UTC](https://community.thunkable.com/t/cant-save-to-local-database/3300438/4 "2024-11-02T01:17:42Z")

</div>

Hi @cannabisxrsa65u9cl  
This is probably happening because one of the Text inputs or the DateInput is not set

---

<div class="post-metadata">

**Author:** ![steve\_synopsis](https://avatars.discourse-cdn.com/v4/letter/s/48db29/32.png) [@steve\_synopsis](https://community.thunkable.com/u/steve_synopsis)\
**Post date:** [November 2, 2024, 12:22pm UTC](https://community.thunkable.com/t/cant-save-to-local-database/3300438/5 "2024-11-02T12:22:58Z")

</div>

So data will only be stored if all cells will have data?

---

<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 5, 2024, 11:58am UTC](https://community.thunkable.com/t/cant-save-to-local-database/3300438/6 "2024-11-05T11:58:16Z")

</div>

@steve_synopsis yes. You could set empty text using the [“Test, If True, If False” block](https://docs.thunkable.com/blocks/blocks/control#test-if-true-if-false).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [February 3, 2025, 11:58am UTC](https://community.thunkable.com/t/cant-save-to-local-database/3300438/7 "2025-02-03T11:58:28Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
