# Problem using database

**URL:** https://community.thunkable.com/t/problem-using-database/2659865
**Category:** Questions about Thunkable X
**Tags:** database
**Created:** [October 23, 2023, 11:40pm UTC](https://community.thunkable.com/t/problem-using-database/2659865 "2023-10-23T23:40:56Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![anubos112thez](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@anubos112thez](https://community.thunkable.com/u/anubos112thez)
#### Post date: [October 23, 2023, 11:40pm UTC](https://community.thunkable.com/t/problem-using-database/2659865/1 "2023-10-23T23:40:56Z")

</div>

I continued working on my project and I have new challenges

1. when I started to use datebase It happened  

2. I set the database up, like this  

3. When I run the app without database it worked, but when I use database it stopped working. I configuered like this  

Any ideas about what am I doing in the worng way???

---

<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: [October 24, 2023, 12:06am UTC](https://community.thunkable.com/t/problem-using-database/2659865/2 "2023-10-24T00:06:03Z")

</div>

How are you setting the value of app variable Capitulo and what is the actual value of that variable when the carga contenido function is called?

---

<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: [October 24, 2023, 7:19pm UTC](https://community.thunkable.com/t/problem-using-database/2659865/3 "2023-10-24T19:19:06Z")

</div>

Hello @anubos112thez  
It appears that the issue is linked to the labels.  
To resolve this issue, please delete the labels on the “Contenido” page and then add them back again.

[[SOLVED] Problème lors de test sur android - Questions about Thunkable / Web API’s - Community](https://community.thunkable.com/t/solved-probleme-lors-de-test-sur-android/2502663)  
[[Solved] Critical Error Occured when opening app with Image recognizer and text and speech - Questions about Thunkable / Issues / Bugs - Community](https://community.thunkable.com/t/solved-critical-error-occured-when-opening-app-with-image-recognizer-and-text-and-speech/2489880)

---

<div class="post-metadata">

### Author: ![anubos112thez](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@anubos112thez](https://community.thunkable.com/u/anubos112thez)
#### Post date: [October 25, 2023, 11:03am UTC](https://community.thunkable.com/t/problem-using-database/2659865/4 "2023-10-25T11:03:30Z")

</div>

Thanks for your help… I did what you say

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/1/a1f28e1a2b5eb2c0eaddfb6be810866c54f7245c.png)  
It did not work… then I copy the screen and delete the old one  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/e/2e6d8cfe70b27b8213ccfbacc50836a71bd695d1.png)  
It did not work

---

<div class="post-metadata">

### Author: ![anubos112thez](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@anubos112thez](https://community.thunkable.com/u/anubos112thez)
#### Post date: [October 25, 2023, 11:14am UTC](https://community.thunkable.com/t/problem-using-database/2659865/5 "2023-10-25T11:14:59Z")

</div>

It nice hearing from you again… thanks a lot…

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/3/b37cc3c069f95c5a4a75840abbcef65228742449.png)  
I set “variable capitulo” at the beginning as a number  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/0/70bc72a4a5443bf73d0332bae1ed0519f79899a8.png)  
When user choose “capitulo number” on “capitulo” screen I load the index of number user chose to the “variable capitulo”… so that on “contenido” screen I can take all of the content of that row number.

Thanks for helping me.

---

<div class="post-metadata">

### Author: ![anubos112thez](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@anubos112thez](https://community.thunkable.com/u/anubos112thez)
#### Post date: [October 27, 2023, 10:38am UTC](https://community.thunkable.com/t/problem-using-database/2659865/6 "2023-10-27T10:38:50Z")

</div>

Tatiang, I hope you be well. I have been trying everything and I can’t resolve the problem, do you have any ideas that I can test?.. thank you a lot.

---

<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: [October 27, 2023, 2:19pm UTC](https://community.thunkable.com/t/problem-using-database/2659865/7 "2023-10-27T14:19:28Z")

</div>

As a test, can you use the Get Value block with an integer (Math block)? Are you able to display a value from your data source in a label that way? If not, you need to fix the data source sync.

You can share the project link if you want… it’s hard to troubleshoot this from screenshots.

---

<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: [October 27, 2023, 3:42pm UTC](https://community.thunkable.com/t/problem-using-database/2659865/8 "2023-10-27T15:42:56Z")

</div>

Hello @anubos112thez  
It appears that the issue is linked to the labels and buttons  
To resolve this issue, please delete the labels and buttons on the “Contenido” page.  
Check that the app doesn’t crash and then add the labels and the buttons one by one (please don’t use copy-paste).

---

<div class="post-metadata">

### Author: ![anubos112thez](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@anubos112thez](https://community.thunkable.com/u/anubos112thez)
#### Post date: [October 27, 2023, 6:08pm UTC](https://community.thunkable.com/t/problem-using-database/2659865/9 "2023-10-27T18:08:06Z")

</div>

Thanks for replying me. I dont know how you share your app so that I can study it

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/1/71fab18d2b21824a153ea79dd7242e33d807a510.png)

I wanna share V1.7App but I dont know how to do it.

Thanks

---

<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: [October 27, 2023, 6:35pm UTC](https://community.thunkable.com/t/problem-using-database/2659865/10 "2023-10-27T18:35:50Z")

</div>

See this: [Share your Project - Thunkable Docs](https://docs.thunkable.com/settings/manage-your-projects/share-1)

---

<div class="post-metadata">

### Author: ![anubos112thez](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@anubos112thez](https://community.thunkable.com/u/anubos112thez)
#### Post date: [October 27, 2023, 9:42pm UTC](https://community.thunkable.com/t/problem-using-database/2659865/11 "2023-10-27T21:42:28Z")

</div>

Thanks a lot. I got it. Here you are [Thunkable](https://x.thunkable.com/copy/60e4ba094463130eae2ec89a68354c72)

I wanna say it is too extrange when you run in detail page, then it works… take a look here

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/1/919c89b0150c6195099c2e93ed29ddd7dde27cff.png)

This did not work on Live test device

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

too weird ;(

---

<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: [October 28, 2023, 3:28am UTC](https://community.thunkable.com/t/problem-using-database/2659865/12 "2023-10-28T03:28:56Z")

</div>

What do you do to make it display that in the browser? I’m not sure how to use your app. When I click a category at the top and then click an item from the list, I’m taken to a blank page with just the categories at the top.

**Edit:** Okay, I figured it out. I click Antiguo then Génesis and then 3.

---

<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: [October 28, 2023, 3:38am UTC](https://community.thunkable.com/t/problem-using-database/2659865/13 "2023-10-28T03:38:41Z")

</div>

You’re giving your Web Viewer an html script rather than a public url. That’s probably the problem with your project.

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

Make sure your urls are publicly accessible web pages.

---

<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: [October 30, 2023, 2:34pm UTC](https://community.thunkable.com/t/problem-using-database/2659865/14 "2023-10-30T14:34:24Z")

</div>

Hello @anubos112thez,  
The app crashes because you set a field to “True” as a string (not a boolean) to a local table. I know that it works on iOS and web but not on Android. I have flagged this to our engineering team and will follow up here as soon as possible.

---

<div class="post-metadata">

### Author: ![anubos112thez](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@anubos112thez](https://community.thunkable.com/u/anubos112thez)
#### Post date: [October 30, 2023, 11:18pm UTC](https://community.thunkable.com/t/problem-using-database/2659865/15 "2023-10-30T23:18:23Z")

</div>

Thanks for your answer. So, meanwhile your engineer check that out, how can I solve the problem? How can I read a boolean value from a table?

---

<div class="post-metadata">

### Author: ![anubos112thez](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@anubos112thez](https://community.thunkable.com/u/anubos112thez)
#### Post date: [October 30, 2023, 11:33pm UTC](https://community.thunkable.com/t/problem-using-database/2659865/16 "2023-10-30T23:33:30Z")

</div>

I an using a web viwer because I can manage the bolb letters and the branches, so that I can organize the text content, let me show you

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/0/90ebc371980aa4534f8bee73e8251c50b8abdfce.png)  
I don know how I can do it using labels, so I used a web viwer, but I am not using internet conection at all, I just type HTML code with the content text, I am not using publicly accessible web pages.

Let me show other way that works, but I am afraid it does not work because I should paste 4.000 long blocks (bible content text)

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/c/0/c0b781dba9520841e54a3c94a21541a1edc1edfb.png)  
When I set this url in that way, it works  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/6/f6c0daf8235ba00eb6555fc63b9bab0936ae5a11.png)  
But when I take the url from the table it crashes.

Let me know any help. Thanks a lot

---

<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: [October 31, 2023, 10:26am UTC](https://community.thunkable.com/t/problem-using-database/2659865/17 "2023-10-31T10:26:39Z")

</div>

Hello @anubos112thez  
It is not currently possible to read/store a boolean value on a Table.  
You will need to add an extra condition before you connect the table value on the button block.  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/b/db92dc42e1d4a9eecba655cc25c6f922ce8a0fa2.png)

---

<div class="post-metadata">

### Author: ![anubos112thez](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@anubos112thez](https://community.thunkable.com/u/anubos112thez)
#### Post date: [November 1, 2023, 11:23am UTC](https://community.thunkable.com/t/problem-using-database/2659865/18 "2023-11-01T11:23:07Z")

</div>

It worked, I delete boolean value from the table and It worked.

But now I have other problem

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

I can not set up table 10, do you know how I can do it?

---

<div class="post-metadata">

### Author: ![anubos112thez](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@anubos112thez](https://community.thunkable.com/u/anubos112thez)
#### Post date: [November 2, 2023, 12:20pm UTC](https://community.thunkable.com/t/problem-using-database/2659865/19 "2023-11-02T12:20:40Z")

</div>

Hi there @ioannis and @tatiang … I was wondering if it is possible set up the “Table #” as a variable ??

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/5/55c54f3aa0ef56ba8b5228399c8c40c900074bc8.png)

Because I dont wanna duplicate those blocks instead I wanna set up a varible. Do you know how I can do it?.. Thanks in advance.

---

<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, 2023, 5:01pm UTC](https://community.thunkable.com/t/problem-using-database/2659865/20 "2023-11-02T17:01:23Z")

</div>

Hello @anubos112thez 👋  
I am investigating the issue with the local Table.

Regarding your question regarding adding the Table dynamically, unfortunately, is not possible but it is a great suggestion. You could make a post on #Feature Requests about it

[Next page](https://community.thunkable.com/t/problem-using-database/2659865.md?page=2)
