# Hi, how do i write data to localdb in thukable x

**URL:** <https://community.thunkable.com/t/hi-how-do-i-write-data-to-localdb-in-thukable-x/2518506>\
**Category:** Questions about Thunkable X\
**Tags:** solved\
**Created:** [July 24, 2023, 7:48pm UTC](https://community.thunkable.com/t/hi-how-do-i-write-data-to-localdb-in-thukable-x/2518506 "2023-07-24T19:48:10Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![agenciaeficazpeo](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@agenciaeficazpeo](https://community.thunkable.com/u/agenciaeficazpeo)\
**Post date:** [July 24, 2023, 7:48pm UTC](https://community.thunkable.com/t/hi-how-do-i-write-data-to-localdb-in-thukable-x/2518506/1 "2023-07-24T19:48:10Z")

</div>

hi, how do i write data to localdb in thukable x

---

<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:** [July 24, 2023, 11:01pm UTC](https://community.thunkable.com/t/hi-how-do-i-write-data-to-localdb-in-thukable-x/2518506/2 "2023-07-24T23:01:20Z")

</div>

Hi, welcome to Thunkable!

You can learn about creating tables to store local data in the documentation:

> **[Data Sources](https://docs.thunkable.com/data-sources)**
>
> Connecting your project to a data source allows you to work with the information that you have stored in Airtable, Google Sheets, Webflow or a local table.

---

<div class="post-metadata">

**Author:** ![agenciaeficazpeo](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@agenciaeficazpeo](https://community.thunkable.com/u/agenciaeficazpeo)\
**Post date:** [July 28, 2023, 4:15am UTC](https://community.thunkable.com/t/hi-how-do-i-write-data-to-localdb-in-thukable-x/2518506/3 "2023-07-28T04:15:43Z")

</div>

okay, that’s already done, I localdb, what I need to write to the table.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/f/bfb5e6f5fb3b16d59ee50620af152c5d19a3e44f.png)

---

<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:** [July 28, 2023, 4:47am UTC](https://community.thunkable.com/t/hi-how-do-i-write-data-to-localdb-in-thukable-x/2518506/4 "2023-07-28T04:47:41Z")

</div>

The Create Row block will add a new row of data to your database.

---

<div class="post-metadata">

**Author:** ![agenciaeficazpeo](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@agenciaeficazpeo](https://community.thunkable.com/u/agenciaeficazpeo)\
**Post date:** [July 28, 2023, 1:53pm UTC](https://community.thunkable.com/t/hi-how-do-i-write-data-to-localdb-in-thukable-x/2518506/5 "2023-07-28T13:53:06Z")

</div>

that’s the problem, he’s not adding the line I did there

---

<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:** [July 28, 2023, 5:02pm UTC](https://community.thunkable.com/t/hi-how-do-i-write-data-to-localdb-in-thukable-x/2518506/6 "2023-07-28T17:02:06Z")

</div>

Okay then you need to really simplify this to test it.

What happens if you have when Button1 Click → create row? Just those blocks, nothing else.

If that works to add a row to your database then it’s the IF condition that is the problem in your screenshot.

---

<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:** [October 26, 2023, 5:02pm UTC](https://community.thunkable.com/t/hi-how-do-i-write-data-to-localdb-in-thukable-x/2518506/7 "2023-10-26T17:02:50Z")

</div>

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