When Iam using tiny DB to get data for list say"Bad argument to select list item"

When app Opens It says "The operation select list item cannot accept the argument :, [empty-string],[1] "
Please help me to fix this erro :sob:

Tag user is not there so value is an empty string. Use Do ti to debug your blocks.

1 Like

The problem is that when you first run the app, tinyDB is empty but you try to set labels text and image from tinyDB. Use an if then statement …When Screen.initialize if call tinyDB tag user is an empty list then… else …

1 Like

Can you send screenshot please

Is this is correct

A very simple example, empty tinyDB results

not empty results

Thank You very much it is worked well

1 Like

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