[Global Variable] Use a global variable for all the screens?

Hi:

I have a global variable in the “Screen1”!

It is possible to use this variable for all the screens, instead set the variable in each screen?

Thank you.

1 Like

No, you can’t. If you want to share data between screens, you maybe can use tinyDB

2 Likes

Use tinydb for that…
TinyDb store tag. your tag
Value. get global variable
Now on another screen.
Whenever you need the data
Call tinydb get tag… your tag
Value if not tag there… Empty
:hugs:

8 Likes

Thank you for the help guys :wink:

you can use also the start value for that.

1 Like

He cannot use start value for this…
Start value only transfer value from one screen to another, not all screens

2 Likes

you might want to follow tip 1


Taifun

2 Likes

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