The app I've been working on has always carried data as it should, but a new TinyDB just doesn't work as it should. From Screen2 to Screen 3, it's a TinyDB (the one i named SEBAstage) that should just carry over a number, but it doesn't do it from the first time when I initialize Screen3.
I have a lot of blocks when the screen initializes, but the most important part is that it calls in the TinyDB. I have dubbelchecked if my TinyDB's had the same namespace in both screens and that was the case.
I have a button to check what's wrong. When I click that button, the number changes from 0 to 1 (1 is the number I should have). After that, the number doesn't change, so I guess it just has to check two times before it can find the right variable.
![image](https://community.appinventor.mit.edu/uploads/default/original/3X/0/6/064c87cc0e24d69d8d901c77dfacfc912b376c74.png)
These are the blocks I use to "send" data into the TinyDB.
![image](https://community.appinventor.mit.edu/uploads/default/original/3X/a/e/ae4a141ef36cf49ff62237da3ca24c70e90f60b5.png)
From Screen3 to Screen2, it just doesn't carry over any data
![image](https://community.appinventor.mit.edu/uploads/default/original/3X/6/2/62e34344d8dc63243f14dda3b2f00de4277fd03a.png)
Also, is there any way to delete the data in a TinyDB? If so, that would solve some other problems.