app-inventor

Using namespaces in TinyDB in App Inventor


I am building an app to store information of clients and their PCs and errors of PCs. When I submit the first client and error and after that another client, the app spits out an error message.

I read something about namespaces, but I can not figure out how to use them.

This image shows adding new clients.

This image shows displaying clients

This image shows adding and displaying errors

When I try to display the clients the error message displays:

Enter image description here

How can I fix this problem?


Solution

  • When using multiple tinyDB instences I had to set different namespaces for each one. Otherwise the data will intertwine.