Saving data to the database

Hey guys! How can I save the value of a variable in the database and retrieve it when I close and open the application again?

If you use a TinyDB fpr on device storage you can use the advice here http://www.appinventor.org/bookChapters/chapter22.pdf

Here are some resources to help you learn to use the AI2 tools. A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook App Inventor 2 Book: Create Your Own Android Apps ... 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 Course In A Box and the aia files for the projects in the book are here: App Inventor 2 Book: Create Your Own Android Apps

How to do a lot of basic things with App Inventor are described here: How do you...? .

Also look here App inventor español. Offline. Tutorial. Ejemplos. Instalación. Códigos. Juegos. Curso gratis de App inventor. and here Tutorial Index | imagnity for more tutorials including Imagnity.com List Tutorial, Mirrored - @Saj

Learn about components Component Reference
and visit the Library The MIT App Inventor Library: Documentation & Support Help>Library on the MENU

Thanks for the immediate response. Would there be an .aia file available for me to perform the initial test?

You can create your own aia using the Blocks in the pdf Junior. The example requires only 11 Blocks.
Is that so difficult?

Working with Lists and TinyDB has an aia.

My test worked correctly. Thank you very much for your prompt support and patience!!