TinyDB with buttons

Hi Carles

You may be wondering why these don't work:

Well firstly, the test would be for 'checked', not 'enabled' but secondly the global count can go out of bounds.

So the way to do it is simply wait until the User hits the button 'AnarAlPartit' and in that Block count how many check boxes are checked:

Here is an updated example showing Virtual Screens working.
Note that the Project apparently has 3 TinyDbs. In fact, that is just for our convenience, App Inventor actually stores everything in just one TinyDb, split internally into 'Name Spaces'. It's like the UK £5 note - it's more convenient than 5 separate £1 coins.

RecordBasketsVirtual.aia (106.2 KB)