# I want to get the data from local db with 'date-input'

**URL:** <https://community.thunkable.com/t/i-want-to-get-the-data-from-local-db-with-date-input/464968>\
**Category:** Questions about Thunkable X\
**Tags:** beginner\
**Created:** [February 14, 2020, 3:21pm UTC](https://community.thunkable.com/t/i-want-to-get-the-data-from-local-db-with-date-input/464968 "2020-02-14T15:21:34Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![go1tentcjzwu](https://avatars.discourse-cdn.com/v4/letter/g/ecd19e/32.png) [@go1tentcjzwu](https://community.thunkable.com/u/go1tentcjzwu)\
**Post date:** [February 14, 2020, 3:21pm UTC](https://community.thunkable.com/t/i-want-to-get-the-data-from-local-db-with-date-input/464968/1 "2020-02-14T15:21:34Z")

</div>

Hi thunkers.  
I use date-input and make new row at local DB.  
When I make new data, I want to compare it with local DB.  
If there is a data of same date, get data from local DB.  
I need your help.  
I want to use date-input, picked date, and compare with local DB.

---

<div class="post-metadata">

**Author:** ![kartik14](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kartik14/32/44782_2.png) [@kartik14](https://community.thunkable.com/u/kartik14)\
**Post date:** [February 14, 2020, 3:45pm UTC](https://community.thunkable.com/t/i-want-to-get-the-data-from-local-db-with-date-input/464968/2 "2020-02-14T15:45:03Z")

</div>

Hi, @go1tentcjzwu! 👋  
**Welcome to our Community! 🎉**

Below idea would work if you have two columns in LocalDB, one for date, and other for data.

* * *

It’s simple, when you select the date, find the date in LocalDB’s date column. If it’s present, then get it’s index, and get the cell from “data” column in the same row.

I hope you get the idea… 😺  
Thanks! 😊

---

<div class="post-metadata">

**Author:** ![go1tentcjzwu](https://avatars.discourse-cdn.com/v4/letter/g/ecd19e/32.png) [@go1tentcjzwu](https://community.thunkable.com/u/go1tentcjzwu)\
**Post date:** [February 14, 2020, 6:13pm UTC](https://community.thunkable.com/t/i-want-to-get-the-data-from-local-db-with-date-input/464968/3 "2020-02-14T18:13:28Z")

</div>

Thanks your reply.  
I will try and hope to make correct cording.

---

<div class="post-metadata">

**Author:** ![go1tentcjzwu](https://avatars.discourse-cdn.com/v4/letter/g/ecd19e/32.png) [@go1tentcjzwu](https://community.thunkable.com/u/go1tentcjzwu)\
**Post date:** [February 14, 2020, 7:15pm UTC](https://community.thunkable.com/t/i-want-to-get-the-data-from-local-db-with-date-input/464968/4 "2020-02-14T19:15:22Z")

</div>

Could you show me with coding block?  
Please.

---

<div class="post-metadata">

**Author:** ![Saprila\_Putri](https://avatars.discourse-cdn.com/v4/letter/s/dbc845/32.png) [@Saprila\_Putri](https://community.thunkable.com/u/Saprila_Putri)\
**Post date:** [April 12, 2020, 8:35pm UTC](https://community.thunkable.com/t/i-want-to-get-the-data-from-local-db-with-date-input/464968/5 "2020-04-12T20:35:08Z")

</div>

Hey, I’m just making my ‘data search’ on Local DB as well, i was stuck, but then i could figure out the solution.

Here’s the block.  
In this case i’m trying to find set of row data based on Member Code.

I hope it helps your problem little bit. I think you could figure out your problem with almost same block with mine.

 ![Screen Shot 2020-04-13 at 03.11.18](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/0/209f1c1fda118fd44e11c693b6303739832135be.png)

---

<div class="post-metadata">

**Author:** ![go1tentcjzwu](https://avatars.discourse-cdn.com/v4/letter/g/ecd19e/32.png) [@go1tentcjzwu](https://community.thunkable.com/u/go1tentcjzwu)\
**Post date:** [April 15, 2020, 6:09am UTC](https://community.thunkable.com/t/i-want-to-get-the-data-from-local-db-with-date-input/464968/6 "2020-04-15T06:09:19Z")

</div>

Thank you. Saprila.

---

<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, 11:38am UTC](https://community.thunkable.com/t/i-want-to-get-the-data-from-local-db-with-date-input/464968/7 "2024-11-08T11:38:58Z")

</div>


