Ha_na
December 5, 2023, 9:44am
1
Hi, my app made for giving feedback and comment from teachers to students. I want to have data stored permanently, so I used TinyDB. When I run the code, it works until screen 3. However, the app doesn't store what I did on screen 4 even though it has TinyDB. Is there any wrong code in my app? How can I solve it?
If you give some suggestions, I really would appreciate it.
This is my app:
projectFinalVersion.aia (23.8 KB)
Peter
December 5, 2023, 9:54am
2
Please post the corresponding blocks from your project.
Ha_na
December 5, 2023, 10:00am
3
Okay, I think these blocks are main which have problmes
Other blocks are just for marking grade.
Boban
December 5, 2023, 12:15pm
4
In Screen3 you have a block TinyDB Clear All , that deletes everything in the TinyDB, try the block below and see if it works..
Ha_na
December 5, 2023, 2:15pm
6
Even though I erase the clear block of tinyDB, I couldn't store the information(name, grade, memo, comment and marking grade) in screen 4.
ABG
December 5, 2023, 3:30pm
7
Could you explain what you keep in the circled tag/value?
Ha_na
December 5, 2023, 3:45pm
8
These are the tags for each information such as memo, comment, name and grade. Should I put seperately?
ABG
December 5, 2023, 4:11pm
9
What do you get if you ask TinyDB for the value for that particular tag?
Use the Do It facility.
ABG
December 5, 2023, 4:22pm
10
I looked in your .aia project.
You have 4 screens, each with the same TinyDB1 Namespace (TinyDB1) in differently named TinyDB components.
They are effectively all the same TinyDB.
So when you clear one, you clear all the others.
Also, the team mate who you gave Screen4 to never learned how to use lists.