I have
In  Screen3      :       textbox3
In Screen2       :  Button2a    &    textbox2a  with variable values
I want
**When I open Screen 3  from  anywhere other than Screen2    textbox1.text= empty
**When I an in screen 2 only and  click Button2a
open another screen = Screen 3  and Set Textbox3.text = Textbox2a.text**
**and when I click Button2b
open another screen = Screen 3  and Set Textbox3.text = Textbox2b.text**
**and when I click Button2c
open another screen = Screen 3  and Set Textbox3.text = Textbox2c.text**
I know how to to all that by tinnydb or by open screen with start value 
but i dont know how to do the first action 
"  When I initialize Screen 3  from  anywhere other than Screen2    set  textbox1.text= empty else get value from Screen2 " 
             
            
              
            
                
           
          
            
              
                Taifun  
              
                  
                    July 13, 2024,  7:25pm
                   
                  2 
               
             
            
              Use TinyDB to transfer data between screensGeneral Tips and Tricks for App Inventor 
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.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 do you...?   .
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 Extensions Pura Vida Apps  by 
             
            
              
            
                
           
          
            
              
                Taifun  
              
                  
                    July 13, 2024,  7:28pm
                   
                  3 
               
             
            
              
Before switching screens, store the current screen name in TinyDB
Then in Screen3 Initialize check TinyDB to get the last current screen
Taifun
             
            
              
            
                
           
          
            
              
                Taifun  
              
                  
                    July 13, 2024,  8:30pm
                   
                  5 
               
             
            
            
              1 Like 
            
            
                
           
          
            
              
                system  
              
                  
                    July 20, 2024,  8:31pm
                   
                  6 
               
             
            
              This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.