Hi everyone,
A strange thing happened to me; basically, after making some simple changes to my app, when I launched my APK, I got this strange error and then discovered that my entire TinyDB had been deleted.
See all the other topics raised regarding this. e.g.
1 Like
TinyDB is basically saving my values as it wants!!
Means?
Basically, in the companion I get the error: Invalid dimension size: 0; so it doesn't save the data to TinyDB... while in the APK, I save a value of "1" and reopen the app, I find a value of "2".![]()
To overcome the current error with tinydb in nb204 I used this approach:
- Where you would normally set an empty list, set a list with one unique value, one that is unlikely to appear in your list
- When it is time to store a real value to the tinydb list, check for the presence of the unique value
- If present, reset the list to empty, then store the value to the list, otherwise store the value to the list
- store the list to the tinydb
You didn't add anything to your list ? You should be storing your list to tinydb not a textbox value.
But I don't need to save a list on tinyDB, but rather some text boxes. P.s: How long will it take for TinyDB to return to how it was before?
What is your bug ?
ValueNotThere of a blank text in GetValue does not generate an error ?
Show your blocks that cause the errror ?


