After TinyDB database is loaded, its return value?

a

Picture above. After the TinyDB database is loaded, its return value may be empty.

b

Pictured above. After the TinyWebDB database is loaded, is it possible that its return value is empty?

Yeah it is possible

How its possible. I think not possible.... :thinking:

TinyWebDB works asynchronously, i.e. it takes a little bit of time until a result will be returned in the TinyWebDB.GotValue event and usually will return an empty string, if the tag is not available or has been set to empty string previously
see also Storage

It is up to the Web service what to return if there is no value stored under the tag .

A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook http://www.appinventor.org/book2 ... the links are at the bottom of the Web page. The book 'teaches' users how to program with AI2 blocks.
There is a free programming course here http://www.appinventor.org/content/CourseInABox/Intro and the aia files for the projects in the book are here: http://www.appinventor.org/bookFiles
How to do a lot of basic things with App Inventor are described here: http://www.appinventor.org/content/howDoYou/eventHandling .

Also do the tutorials Our Tutorials! to learn the basics of App Inventor, then try something and follow the Top 5 Tips: How to learn App Inventor

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by icon24 Taifun.