Please help. I am confused what table lookup is or from where to start.
Table lookup is when you look in a table to answer a question like "how much does this menu item cost?"
You are already doing this in asking TinyDB for a tag value, or when you use the list block Look up In Pairs or use the spreadsheet function =VLookup () or when you use an AI2 dictionary.
and is the video correct for table lookup?
Sorry, DoIt used to be described there. Try here:
http://twodogapps.com/?page_id=686#DoIt
and
Use the companion app and Do it to debug your blocks, see also tip 4 here App Inventor: How to Learn | Pura Vida Apps
see also Live Development, Testing, and Debugging Tools
Taifun
Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.
I tried using Do It, but it wasn't that helpful. (Maybe I didn't use correctly)
Do It does not work on When blocks.
@SteveJG and @ABG I have tried whatever you told me but it doesn't work either. I hope you can try to help me with codes that would be a great help because I think there are only 2 places where this is happening because of which instead of 2 items 1 item is coming.
2nd place
in the first place as you see the tag: join get selected starters
I even tried listpickerstarters but nothing happened. same result
Apply Do It with the companion to see what is in the taglist and the list you are building up
Show us the results.
Also, explain to us how you are using TinyDB.
What are the tags, and what are their values?
Also, how does that help you?
TinyDB is being used to get the items the person has selected. For that purpose, there are 2 TinyDB.
Tags are used to get the item's name/title/topic.
It helps me to get the item's name on the cart screen.
Your answer is not specific enough.
A description of a tag and value setup must include the word 'of' as in these samples:
Price of a menu item
Birthday of a friend (by unique name)
Debt of a customer (by name)
In all cases the name after 'of' is the tag and the value is before the 'of'
So answer the question using 'of'
Also, multiple TinyDBs need more descriptive names and different Namespaces, to avoid mixing up the debt and birthday of the same person.
So how to put it in codes?
Go back and reread my Fruit Stand sample.