Text Box Loaded from TinyDB Not Displaying

I am trying to load a value from TinyDB into a text box.

Screenshot_14

This is what it displays in the text box:

com.google.appinventor.components.runtime.TextBox@eae30a5

I used the same exact coding in a new project and it works fine. However, in this project it will not load the value. I have even manually added a button to save a number to the database. Yet, it still refuses to load the values from the database.. Any idea why this might be happening?

Could this be a result of resuming this project from years ago?

have you save the textbox to the tinydb before?
Run TinyDB.ClearAll to remove all the tag, then try again.

Thank you. I found the problem. It was my mistake. In part of the initialization I used textBox and not textBox.txt

This is solved.

1 Like

We have all been there and done that Daniel :upside_down_face:

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